Class JSONParserStream
- java.lang.Object
-
- org.zkoss.zats.common.json.parser.JSONParserStream
-
- Direct Known Subclasses:
JSONParser
public class JSONParserStream extends Object
Parser for JSON text. Please note that JSONParser is NOT thread-safe.- Since:
- 1.1.0
- Author:
- Uriel Chemouni
-
-
Field Summary
Fields Modifier and Type Field Description static intEOI
-
Constructor Summary
Constructors Constructor Description JSONParserStream()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectparse(Reader in)use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactoryObjectparse(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:
ParseExceptionIOException
-
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:
ParseExceptionIOException
-
-