Package generic.json

Class JSONParser


  • public class JSONParser
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      JSONParser()
      Creates a new parser based over a given buffer with an array of tokens available.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object convert​(char[] s, java.util.List<JSONToken> t)  
      JSONError parse​(char[] js, java.util.List<JSONToken> tokens)
      Parse JSON string and fill tokens.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JSONParser

        public JSONParser()
        Creates a new parser based over a given buffer with an array of tokens available.
    • Method Detail

      • parse

        public JSONError parse​(char[] js,
                               java.util.List<JSONToken> tokens)
        Parse JSON string and fill tokens.
      • convert

        public java.lang.Object convert​(char[] s,
                                        java.util.List<JSONToken> t)