Click or drag to resize

JsonLdProcessorCompact Method (JToken, JToken)

Run the Compaction algorithm.

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

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.

Return Value

Type: JObject

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

See Also