Class JSONLDSettings
- Author:
- Peter Ansell
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RioSetting<Boolean>
Deprecated, for removal: This API element is subject to removal in a future version.static final RioSetting<com.github.jsonldjava.core.DocumentLoader>
Deprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.DOCUMENT_LOADER
instead.static final RioSetting<Boolean>
Deprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.HIERARCHICAL_VIEW
instead.static final RioSetting<JSONLDMode>
Deprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.JSONLD_MODE
instead.static final RioSetting<Boolean>
Deprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.OPTIMIZE
instead.static final RioSetting<Boolean>
Deprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.PRODUCE_GENERALIZED_RDF
instead.static final RioSetting<Boolean>
Deprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.USE_NATIVE_TYPES
instead.static final RioSetting<Boolean>
Deprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.USE_RDF_TYPE
instead. -
Method Summary
-
Field Details
-
COMPACT_ARRAYS
Deprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.COMPACT_ARRAYS
instead.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.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.jsonld.compact_arrays
.- See Also:
-
DOCUMENT_LOADER
@Deprecated(since="4.3.0", forRemoval=true) public static final RioSetting<com.github.jsonldjava.core.DocumentLoader> DOCUMENT_LOADERDeprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.DOCUMENT_LOADER
instead.If specified, it is used to retrieve remote documents and contexts; otherwise the processor's built-in loader is used. -
OPTIMIZE
Deprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.OPTIMIZE
instead.If 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.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.jsonld.optimize
.- See Also:
-
PRODUCE_GENERALIZED_RDF
@Deprecated(since="4.3.0", forRemoval=true) public static final RioSetting<Boolean> PRODUCE_GENERALIZED_RDFDeprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.PRODUCE_GENERALIZED_RDF
instead.If set to true, the JSON-LD processor may emit blank nodes for triple predicates, otherwise they will be omitted.Note: the use of blank node identifiers to label properties is obsolete, and may be removed in a future version of JSON-LD,
Defaults to false.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.jsonld.produce_generalized_rdf
.- See Also:
-
USE_NATIVE_TYPES
@Deprecated(since="4.3.0", forRemoval=true) public static final RioSetting<Boolean> USE_NATIVE_TYPESDeprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.USE_NATIVE_TYPES
instead.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.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.jsonld.use_native_types
.- See Also:
-
USE_RDF_TYPE
Deprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.USE_RDF_TYPE
instead.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.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.jsonld.use_rdf_type
.- See Also:
-
JSONLD_MODE
Deprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.JSONLD_MODE
instead.TheJSONLDMode
that the writer will use to reorganise the JSONLD document after it is created.Defaults to
JSONLDMode.EXPAND
to provide maximum RDF compatibility.- See Also:
-
HIERARCHICAL_VIEW
@Deprecated(since="4.3.0", forRemoval=true) public static final RioSetting<Boolean> HIERARCHICAL_VIEWDeprecated, for removal: This API element is subject to removal in a future version.UseJSONLDSettings.HIERARCHICAL_VIEW
instead.If set to true, the JSON-LD processor will try to represent the JSON-LD object in a hierarchical view.Default to false
Can be overridden by setting system property
org.eclipse.rdf4j.rio.jsonld.hierarchical_view
.
-
JSONLDSettings.COMPACT_ARRAYS
instead.