Class JSONSettings
Several of these settings can be overridden by means of a system property, but only if specified at JVM startup time.
- Author:
- Peter Ansell
-
Field Summary
Modifier and TypeFieldDescriptionstatic final BooleanRioSetting
Boolean setting for JSON parsers to determine if any character is allowed to be backslash escaped.static final BooleanRioSetting
Boolean setting for JSON parsers to determine if Java/C++ style comments are allowed.static final BooleanRioSetting
Boolean setting for JSON parsers to determine if non-numeric numbers (INF/-INF/NaN) are allowed.static final BooleanRioSetting
Boolean setting for JSON parsers to determine if numeric leading zeroes are allowed.static final BooleanRioSetting
Boolean setting for JSON parsers to determine if single quotes are allowed.static final BooleanRioSetting
Boolean setting for JSON parsers to determine if trailing commas are allowed.static final BooleanRioSetting
Boolean setting for JSON parsers to determine if unquoted control characters are allowed.static final BooleanRioSetting
Boolean setting for JSON parsers to determine if unquoted field names are allowed.static final BooleanRioSetting
Boolean setting for JSON parsers to determine if YAML comments (starting with '#') are allowed.static final BooleanRioSetting
Boolean setting for JSON parsers to determine if errors should include a reference to the source or not.static final BooleanRioSetting
Boolean setting for JSON parsers to determine if strict duplicate detection is allowed for JSON Object field names. -
Method Summary
-
Field Details
-
ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER
Boolean setting for JSON parsers to determine if any character is allowed to be backslash escaped.Defaults to false.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.json.allow_backslash_escaping_any_character
. -
ALLOW_COMMENTS
Boolean setting for JSON parsers to determine if Java/C++ style comments are allowed.Defaults to false.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.json.allow_comments
. -
ALLOW_NON_NUMERIC_NUMBERS
Boolean setting for JSON parsers to determine if non-numeric numbers (INF/-INF/NaN) are allowed.Defaults to false.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.json.allow_non_numeric_numbers
. -
ALLOW_NUMERIC_LEADING_ZEROS
Boolean setting for JSON parsers to determine if numeric leading zeroes are allowed.Defaults to false.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.json.allow_numeric_leading_zeros
. -
ALLOW_SINGLE_QUOTES
Boolean setting for JSON parsers to determine if single quotes are allowed.Defaults to false.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.json.allow_single_quotes
. -
ALLOW_UNQUOTED_CONTROL_CHARS
Boolean setting for JSON parsers to determine if unquoted control characters are allowed.Defaults to false.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.json.allow_unquoted_control_chars
. -
ALLOW_UNQUOTED_FIELD_NAMES
Boolean setting for JSON parsers to determine if unquoted field names are allowed.Defaults to false.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.json.allow_unquoted_field_names
. -
ALLOW_YAML_COMMENTS
Boolean setting for JSON parsers to determine if YAML comments (starting with '#') are allowed.Defaults to false.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.json.allow_yaml_comments
. -
ALLOW_TRAILING_COMMA
Boolean setting for JSON parsers to determine if trailing commas are allowed.Defaults to false.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.json.allow_trailing_comma
. -
INCLUDE_SOURCE_IN_LOCATION
Boolean setting for JSON parsers to determine if errors should include a reference to the source or not.Defaults to true.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.json.include_source_in_location
. -
STRICT_DUPLICATE_DETECTION
Boolean setting for JSON parsers to determine if strict duplicate detection is allowed for JSON Object field names.Defaults to false.
Can be overridden by setting system property
org.eclipse.rdf4j.rio.json.strict_duplicate_detection
.
-