Package com.stardog.stark.io.jsonld
Class JSONLDOptions
java.lang.Object
com.stardog.stark.io.jsonld.JSONLDOptions
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Peter Ansell, Michael Grove
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionDeprecated.This option is not used anymorestatic final Option<JSONLDMode> Deprecated.This option is not used anymoreDeprecated.This option is not used anymoreIf set to true, the JSON-LD processor will try to convert typed values to JSON native types instead of using the expanded object form when converting from RDF.If set to true, the JSON-LD processor will use the expanded rdf:type IRI as the property instead of @type when converting from RDF. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
COMPACT_ARRAYS
Deprecated.This option is not used anymoreIf 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:
-
OPTIMIZE
Deprecated.This option is not used anymoreIf set to true, the JSON-LD processor is allowed to optimize the output of the Compaction algorithm to produce even compacter representations.Defaults to `false`.
- See Also:
-
USE_NATIVE_TYPES
If set to true, the JSON-LD processor will try to convert typed values to JSON native types instead of using the expanded object form when converting from RDF. xsd:boolean values will be converted to true or false. xsd:integer and xsd:double values will be converted to JSON numbers.Defaults to `false` for RDF compatibility.
- See Also:
-
USE_RDF_TYPE
If set to true, the JSON-LD processor will use the expanded rdf:type IRI as the property instead of @type when converting from RDF.Defaults to `false`.
- See Also:
-
JSONLD_MODE
Deprecated.This option is not used anymoreTheJSONLDModethat the writer will use to reorganise the JSONLD document after it is created.- See Also:
-
-
Constructor Details
-
JSONLDOptions
public JSONLDOptions()
-