Package net.minidev.json.parser
Class JSONParserReader
java.lang.Object
net.minidev.json.parser.JSONParserBase
net.minidev.json.parser.JSONParserStream
net.minidev.json.parser.JSONParserReader
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 TypeMethodDescriptionuse to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactory<T> Tparse(Reader in, JsonReaderI<T> mapper) use to return Primitive Type, or String, Or JsonObject or JsonArray generated by a ContainerFactoryprotected voidread()protected voidprotected voidreadS()store and readMethods inherited from class net.minidev.json.parser.JSONParserStream
readNQString, readNumber, readStringMethods 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
-
JSONParserReader
public JSONParserReader(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:
readin classJSONParserBase- Throws:
IOException
-
readS
Description copied from class:JSONParserBasestore and read- Specified by:
readSin classJSONParserBase- Throws:
IOException
-
readNoEnd
- Specified by:
readNoEndin classJSONParserBase- Throws:
ParseExceptionIOException
-