Package net.minidev.json.parser
Class JSONParserStream
- java.lang.Object
-
- net.minidev.json.parser.JSONParserStream
-
- Direct Known Subclasses:
JSONParser
public class JSONParserStream extends Object
Parser for JSON text. Please note that JSONParser is NOT thread-safe.- Author:
- Uriel Chemouni
-
-
Field Summary
Fields Modifier and Type Field Description static int
EOI
-
Constructor Summary
Constructors Constructor Description JSONParserStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
parse(Reader in)
use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactoryObject
parse(Reader in, ContainerFactory containerFactory)
use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory
-
-
-
Field Detail
-
EOI
public static final int EOI
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
public Object parse(Reader in) throws ParseException, IOException
use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory- Throws:
ParseException
IOException
-
parse
public Object parse(Reader in, ContainerFactory containerFactory) throws ParseException, IOException
use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory- Throws:
ParseException
IOException
-
-