Package jodd.json

Class ObjectParser

java.lang.Object
jodd.json.ObjectParser
All Implemented Interfaces:
Supplier

class ObjectParser extends Object implements Supplier
Extracted function for parsing object content. This function is called in two periods:
  • during parsing
  • after parsing, in Lazy collections.
This functional method re-use existing parser instance. The only thing we need to preserve are:
  • current index,
  • current path
  • Field Details

    • ndx

      private final int ndx
    • targetType

      private final Class targetType
    • keyType

      private final Class keyType
    • componentType

      private final Class componentType
    • jsonParser

      private final JsonParser jsonParser
    • path

      private final Path path
  • Constructor Details

  • Method Details