Click or drag to resize

JsonLdProcessorOptionsCompactArrays Field

Flag indicating if arrays of one element should be replaced by the single value during compaction.

Namespace:  VDS.RDF.JsonLd
Assembly:  dotNetRDF (in dotNetRDF.dll) Version:
Syntax
public bool CompactArrays

Field Value

Type: Boolean
Remarks

If set to true, the JSON-LD processor replaces arrays with just one element with that element during compaction. If set to false, all arrays will remain arrays even if they have just one element.

Defaults to true.

See Also