Click or drag to resize

JsonLdProcessorCompact Method (JToken, JToken, JsonLdProcessorOptions)

Run the Compaction algorithm.

Namespace:  VDS.RDF.JsonLd
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public static JObject Compact(
	JToken input,
	JToken context,
	JsonLdProcessorOptions options
)

Parameters

input
Type: JToken
The JSON-LD data to be compacted. Expected to be a JObject or JArray of JObject or a JString whose value is the IRI reference to a JSON-LD document to be retrieved.
context
Type: JToken
The context to use for the compaction process. May be a JObject, JArray of JObject, JString or JArray of JString. String values are treated as IRI references to context documents to be retrieved.
options
Type: VDS.RDF.JsonLdJsonLdProcessorOptions
Additional processor options.

Return Value

Type: JObject

[Missing <returns> documentation for "M:VDS.RDF.JsonLd.JsonLdProcessor.Compact(Newtonsoft.Json.Linq.JToken,Newtonsoft.Json.Linq.JToken,VDS.RDF.JsonLd.JsonLdProcessorOptions)"]

See Also