Package net.minidev.json.parser
Class JSONParserStream
- java.lang.Object
-
- net.minidev.json.parser.JSONParserBase
-
- net.minidev.json.parser.JSONParserStream
-
- Direct Known Subclasses:
JSONParserInputStream
,JSONParserReader
abstract class JSONParserStream extends JSONParserBase
Parser for JSON text. Please note that JSONParser is NOT thread-safe.- See Also:
JSONParserInputStream
,JSONParserReader
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.minidev.json.parser.JSONParserBase
JSONParserBase.MSB
-
-
Field Summary
-
Fields 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 Constructor Description JSONParserStream(int permissiveMode)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
readNQString(boolean[] stop)
protected java.lang.Object
readNumber(boolean[] stop)
protected void
readString()
-
Methods inherited from class net.minidev.json.parser.JSONParserBase
checkControleChar, checkLeadinZero, extractFloat, parse, parseNumber, read, readArray, readFirst, readMain, readNoEnd, readObject, readS, readString2, readUnicode, skipDigits, skipNQString, skipSpace
-
-
-
-
Method Detail
-
readNQString
protected void readNQString(boolean[] stop) throws java.io.IOException
- Specified by:
readNQString
in classJSONParserBase
- Throws:
java.io.IOException
-
readNumber
protected java.lang.Object readNumber(boolean[] stop) throws ParseException, java.io.IOException
- Specified by:
readNumber
in classJSONParserBase
- Throws:
ParseException
java.io.IOException
-
readString
protected void readString() throws ParseException, java.io.IOException
- Specified by:
readString
in classJSONParserBase
- Throws:
ParseException
java.io.IOException
-
-