Class JSONParserInputStream


  • class JSONParserInputStream
    extends JSONParserStream
    Parser for JSON text. Please note that JSONParser is NOT thread-safe.
    • Field Detail

      • in

        private java.io.InputStream in
    • Constructor Detail

      • JSONParserInputStream

        public JSONParserInputStream​(int permissiveMode)
    • Method Detail

      • parse

        public java.lang.Object parse​(java.io.InputStream in)
                               throws ParseException
        use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory
        Throws:
        ParseException
      • parse

        public <T> T parse​(java.io.InputStream in,
                           JsonReaderI<T> mapper)
                    throws ParseException
        use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory
        Throws:
        ParseException
      • read

        protected void read()
                     throws java.io.IOException
        Specified by:
        read in class JSONParserBase
        Throws:
        java.io.IOException
      • readS

        protected void readS()
                      throws java.io.IOException
        Description copied from class: JSONParserBase
        store and read
        Specified by:
        readS in class JSONParserBase
        Throws:
        java.io.IOException