Package | Description |
---|---|
com.github.jsonldjava.core |
Modifier and Type | Method and Description |
---|---|
static Map<String,Object> |
JsonLdProcessor.compact(Object input,
Object context,
JsonLdOptions opts)
Compacts the given input using the context according to the steps in the
Compaction algorithm.
|
static List<Object> |
JsonLdProcessor.expand(Object input,
JsonLdOptions opts)
Expands the given input according to the steps in the Expansion
algorithm.
|
static Object |
JsonLdProcessor.flatten(Object input,
JsonLdOptions opts)
Flattens the given input and compacts it using the passed context
according to the steps in the Flattening
algorithm:
|
static Object |
JsonLdProcessor.flatten(Object input,
Object context,
JsonLdOptions opts) |
static Map<String,Object> |
JsonLdProcessor.frame(Object input,
Object frame,
JsonLdOptions opts)
Frames the given input using the frame according to the steps in the
Framing Algorithm.
|
static Object |
JsonLdProcessor.fromRDF(Object dataset,
JsonLdOptions options)
Converts an RDF dataset to JSON-LD.
|
static Object |
JsonLdProcessor.fromRDF(Object input,
JsonLdOptions options,
RDFParser parser)
Converts an RDF dataset to JSON-LD, using a specific instance of
RDFParser . |
static Object |
JsonLdProcessor.normalize(Object input,
JsonLdOptions options)
Performs RDF dataset normalization on the given JSON-LD input.
|
static Object |
JsonLdProcessor.toRDF(Object input,
JsonLdOptions options)
Outputs the RDF dataset found in the given JSON-LD object.
|
static Object |
JsonLdProcessor.toRDF(Object input,
JsonLdTripleCallback callback,
JsonLdOptions options)
Outputs the RDF dataset found in the given JSON-LD object.
|
Constructor and Description |
---|
Context(JsonLdOptions opts) |
Context(Map<String,Object> map,
JsonLdOptions opts) |
Context(Object context,
JsonLdOptions opts) |
JsonLdApi(JsonLdOptions opts)
Constructs an empty JsonLdApi object using the given JsonLdOptions, and
without initialization.
|
JsonLdApi(Object input,
JsonLdOptions opts)
Constructs a JsonLdApi object using the given object as the initial
JSON-LD object, and the given JsonLdOptions.
|
JsonLdApi(Object input,
Object context,
JsonLdOptions opts)
Constructs a JsonLdApi object using the given object as the initial
JSON-LD object, the given context, and the given JsonLdOptions.
|
Copyright © 2018. All rights reserved.