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
Parser for JSON text. Please note that JSONParser is NOT thread-safe.
- See Also:
-
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 -
Method Summary
Modifier and TypeMethodDescriptionprotected void
readNQString
(boolean[] stop) protected Object
readNumber
(boolean[] stop) protected void
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
-
Constructor Details
-
JSONParserStream
public JSONParserStream(int permissiveMode)
-
-
Method Details
-
readNQString
- Specified by:
readNQString
in classJSONParserBase
- Throws:
IOException
-
readNumber
- Specified by:
readNumber
in classJSONParserBase
- Throws:
ParseException
IOException
-
readString
- Specified by:
readString
in classJSONParserBase
- Throws:
ParseException
IOException
-