Package jodd.json
Class JsonParser.Defaults
- java.lang.Object
-
- jodd.json.JsonParser.Defaults
-
- Enclosing class:
- JsonParser
public static class JsonParser.Defaults extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
classMetadataName
Specifies if 'class' metadata is used and its value.static java.lang.String
DEFAULT_CLASS_METADATA_NAME
static boolean
lazy
Flag for enabling the lazy mode.static boolean
loose
Default value for loose mode.static boolean
strictTypes
static boolean
useAltPathsByParser
Defines if parser will use extended paths information and path matching.
-
Constructor Summary
Constructors Constructor Description Defaults()
-
-
-
Field Detail
-
DEFAULT_CLASS_METADATA_NAME
public static final java.lang.String DEFAULT_CLASS_METADATA_NAME
- See Also:
- Constant Field Values
-
lazy
public static boolean lazy
Flag for enabling the lazy mode.
-
useAltPathsByParser
public static boolean useAltPathsByParser
Defines if parser will use extended paths information and path matching.
-
loose
public static boolean loose
Default value for loose mode.
-
classMetadataName
public static java.lang.String classMetadataName
Specifies if 'class' metadata is used and its value. When set, class metadata is used byJsonSerializer
and all objects will have additional field with the class type in the resulting JSON.JsonParser
will also consider this flag to build correct object type. Ifnull
, class information is not used.
-
strictTypes
public static boolean strictTypes
-
-