Class NullValueParser

All Implemented Interfaces:
Direct Known Subclasses:

public abstract class NullValueParser extends AbstractElementParser
Parses nulls. On the first non-null token, replaces itself with a "resolved" parser to handle the actual structure.
  • Field Details

    • key

      protected final String key
  • Constructor Details

  • Method Details

    • parse

      public void parse(TokenIterator tokenizer)
      Parses nulls. On the first non-null Parses true | false | null | integer | float | string| embedded-object | { ... } | [ ... ]
    • resolve

      protected abstract ElementParser resolve(TokenIterator tokenizer)
      Replace this parser with a new parser based on the current parse context.