Module swim.json
Package swim.json

Class JsonParser<I,​V>

  • Direct Known Subclasses:
    JsonStructureParser

    public abstract class JsonParser<I,​V>
    extends Object
    Factory for constructing JSON parsers and parse trees.
    • Constructor Detail

      • JsonParser

        public JsonParser()
    • Method Detail

      • item

        public abstract I item​(V value)
      • value

        public abstract V value​(I item)
      • field

        public abstract I field​(V key,
                                V value)
      • documentBuilder

        public abstract Builder<I,​V> documentBuilder()
      • objectBuilder

        public abstract Builder<I,​V> objectBuilder()
      • arrayBuilder

        public abstract Builder<I,​V> arrayBuilder()
      • textOutput

        public abstract Output<V> textOutput()
      • ident

        public abstract V ident​(V value)
      • num

        public abstract V num​(int value)
      • num

        public abstract V num​(long value)
      • num

        public abstract V num​(float value)
      • num

        public abstract V num​(double value)
      • num

        public abstract V num​(String value)
      • uint32

        public abstract V uint32​(int value)
      • uint64

        public abstract V uint64​(long value)
      • bool

        public abstract V bool​(boolean value)
      • parseObject

        public Parser<V> parseObject​(Input input)
      • parseString

        public Parser<V> parseString​(Input input)
      • parseNumber

        public Parser<V> parseNumber​(Input input)
      • valueParser

        public Parser<V> valueParser()
      • objectParser

        public Parser<V> objectParser()
      • arrayParser

        public Parser<V> arrayParser()
      • documentParser

        public Parser<V> documentParser()
      • parseValueString

        public V parseValueString​(String string)
      • parseObjectString

        public V parseObjectString​(String string)