Package net.minidev.json.parser
Class JSONParserStream
- java.lang.Object
-
- net.minidev.json.parser.JSONParserBase
-
- net.minidev.json.parser.JSONParserStream
-
- Direct Known Subclasses:
JSONParserReader
abstract class JSONParserStream extends JSONParserBase
Parser for JSON text. Please note that JSONParser is NOT thread-safe.- Author:
- Uriel Chemouni uchemouni@gmail.com
- 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, c, checkTaillingData, checkTaillingSpace, containerFactory, EOI, handler, 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 Object
readNumber(boolean[] stop)
protected void
readString()
-
Methods inherited from class net.minidev.json.parser.JSONParserBase
checkControleChar, checkLeadinZero, extractFloat, parse, parseNumber, read, readArray, readMain, readNoEnd, readObject, readS, readString2, readUnicode, skipDigits, skipNQString, skipSpace
-
-
-
-
Method Detail
-
readNQString
protected void readNQString(boolean[] stop) throws IOException
- Specified by:
readNQString
in classJSONParserBase
- Throws:
IOException
-
readNumber
protected Object readNumber(boolean[] stop) throws ParseException, IOException
- Specified by:
readNumber
in classJSONParserBase
- Throws:
ParseException
IOException
-
readString
protected void readString() throws ParseException, IOException
- Specified by:
readString
in classJSONParserBase
- Throws:
ParseException
IOException
-
-