Package jodd.json

Class 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()  
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 by JsonSerializer 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. If null, class information is not used.
      • strictTypes

        public static boolean strictTypes
    • Constructor Detail

      • Defaults

        public Defaults()