Class JSONSettings

java.lang.Object
org.eclipse.rdf4j.rio.helpers.JSONSettings

public class JSONSettings extends Object
Generic JSON settings, mostly related to Jackson Features.

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 Details

    • ALLOW_BACKSLASH_ESCAPING_ANY_CHARACTER

      public static final BooleanRioSetting 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

      public static final BooleanRioSetting 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

      public static final BooleanRioSetting 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

      public static final BooleanRioSetting 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

      public static final BooleanRioSetting 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

      public static final BooleanRioSetting 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

      public static final BooleanRioSetting 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

      public static final BooleanRioSetting 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

      public static final BooleanRioSetting 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

      public static final BooleanRioSetting 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

      public static final BooleanRioSetting 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.