Package net.minidev.json.parser
Class JSONParserInputStream
java.lang.Object
net.minidev.json.parser.JSONParserBase
net.minidev.json.parser.JSONParserStream
net.minidev.json.parser.JSONParserInputStream
Parser for JSON text. Please note that JSONParser is NOT thread-safe.
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minidev.json.parser.JSONParserBase
JSONParserBase.MSB
-
Field Summary
FieldsFields inherited from class net.minidev.json.parser.JSONParserBase
acceptLeadinZero, acceptNaN, acceptNonQuote, acceptSimpleQuote, acceptUselessComma, base, c, checkTaillingData, checkTaillingSpace, EOI, ignoreControlChar, MAX_STOP, pos, sb, stopAll, stopArray, stopKey, stopValue, stopX, useHiPrecisionFloat, useIntegerStorage, xo, xs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionparse
(InputStream in) use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory<T> T
parse
(InputStream in, JsonReaderI<T> mapper) use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactoryprotected void
read()
protected void
protected void
readS()
store and readMethods inherited from class net.minidev.json.parser.JSONParserStream
readNQString, readNumber, readString
Methods inherited from class net.minidev.json.parser.JSONParserBase
checkControleChar, checkLeadinZero, extractFloat, parse, parseNumber, readArray, readFirst, readMain, readObject, readString2, readUnicode, skipDigits, skipNQString, skipSpace
-
Field Details
-
in
-
-
Constructor Details
-
JSONParserInputStream
public JSONParserInputStream(int permissiveMode)
-
-
Method Details
-
parse
use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory- Throws:
ParseException
-
parse
use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory- Throws:
ParseException
-
read
- Specified by:
read
in classJSONParserBase
- Throws:
IOException
-
readS
Description copied from class:JSONParserBase
store and read- Specified by:
readS
in classJSONParserBase
- Throws:
IOException
-
readNoEnd
- Specified by:
readNoEnd
in classJSONParserBase
- Throws:
ParseException
IOException
-