Package jodd.json
Class JsonParser.Defaults
java.lang.Object
jodd.json.JsonParser.Defaults
- Enclosing class:
JsonParser
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic StringSpecifies if 'class' metadata is used and its value.static final Stringstatic booleanFlag for enabling the lazy mode.static booleanDefault value for loose mode.static booleanstatic booleanDefines if parser will use extended paths information and path matching. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_CLASS_METADATA_NAME
- See Also:
-
lazy
public static boolean lazyFlag for enabling the lazy mode. -
useAltPathsByParser
public static boolean useAltPathsByParserDefines if parser will use extended paths information and path matching. -
loose
public static boolean looseDefault value for loose mode. -
classMetadataName
Specifies if 'class' metadata is used and its value. When set, class metadata is used byJsonSerializerand all objects will have additional field with the class type in the resulting JSON.JsonParserwill also consider this flag to build correct object type. Ifnull, class information is not used. -
strictTypes
public static boolean strictTypes
-
-
Constructor Details
-
Defaults
public Defaults()
-