public class JSONLDSettings extends Object
| Modifier and Type | Field and Description |
|---|---|
static RioSetting<Boolean> |
COMPACT_ARRAYS
If set to true, the JSON-LD processor replaces arrays with just one element with that element during
compaction.
|
static RioSetting<JSONLDMode> |
JSONLD_MODE
The
JSONLDMode that the writer will use to reorganise the JSONLD document after it is created. |
static RioSetting<Boolean> |
OPTIMIZE
If set to true, the JSON-LD processor is allowed to optimize the output of the
Compaction algorithm
to produce even compacter representations.
|
static RioSetting<Boolean> |
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.
|
static RioSetting<Boolean> |
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.
|
public static final RioSetting<Boolean> COMPACT_ARRAYS
Defaults to true.
public static final RioSetting<Boolean> OPTIMIZE
Defaults to false.
public static final RioSetting<Boolean> USE_NATIVE_TYPES
Defaults to false for RDF compatibility.
public static final RioSetting<Boolean> USE_RDF_TYPE
Defaults to false.
public static final RioSetting<JSONLDMode> JSONLD_MODE
JSONLDMode that the writer will use to reorganise the JSONLD document after it is created.
Defaults to JSONLDMode.EXPAND to provide maximum RDF compatibility.
Copyright © 2015-2018 Eclipse Foundation. All Rights Reserved.