Class JSONParser


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

      Constructors 
      Constructor Description
      JSONParser()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void parse​(java.io.InputStream input)
      Parse from an input stream to get a Json object
      static void parse​(java.io.InputStream input, JSONHandler handler)
      Parse to get a Json object
      static void parse​(java.io.Reader reader)
      Parse from a reader to get a Json object
      static void parse​(java.io.Reader reader, JSONHandler handler)
      Parse to get a Json object
      static void parseAny​(java.io.InputStream input)
      Parse from a reader to get an Json value
      static void parseAny​(java.io.InputStream input, JSONHandler handler)
      Parse to get a Json primitive
      static void parseAny​(java.io.Reader reader)
      Parse from a reader to get an Json value
      static void parseAny​(java.io.Reader reader, JSONHandler handler)
      Parse to get a Json primitive
      • Methods inherited from class java.lang.Object

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

      • JSONParser

        public JSONParser()
    • Method Detail

      • parse

        public static void parse​(java.io.InputStream input)
        Parse from an input stream to get a Json object
      • parse

        public static void parse​(java.io.InputStream input,
                                 JSONHandler handler)
        Parse to get a Json object
      • parse

        public static void parse​(java.io.Reader reader)
        Parse from a reader to get a Json object
      • parse

        public static void parse​(java.io.Reader reader,
                                 JSONHandler handler)
        Parse to get a Json object
      • parseAny

        public static void parseAny​(java.io.Reader reader)
        Parse from a reader to get an Json value
      • parseAny

        public static void parseAny​(java.io.Reader reader,
                                    JSONHandler handler)
        Parse to get a Json primitive
      • parseAny

        public static void parseAny​(java.io.InputStream input)
        Parse from a reader to get an Json value
      • parseAny

        public static void parseAny​(java.io.InputStream input,
                                    JSONHandler handler)
        Parse to get a Json primitive