Package org.apache.groovy.json.internal
Class JsonFastParser
java.lang.Object
org.apache.groovy.json.internal.BaseJsonParser
org.apache.groovy.json.internal.JsonParserCharArray
org.apache.groovy.json.internal.JsonFastParser
- All Implemented Interfaces:
- JsonParser
This works in index overlay mode or chop mode.
 Chop mode reduces possibility of memory leak but causes a few more buffer copies as it chops up the buffer.
- 
Field SummaryFields inherited from class org.apache.groovy.json.internal.JsonParserCharArray__currentChar, __index, charArray, FALSE, NULL, TRUEFields inherited from class org.apache.groovy.json.internal.BaseJsonParserALPHA_0, ALPHA_1, ALPHA_2, ALPHA_3, ALPHA_4, ALPHA_5, ALPHA_6, ALPHA_7, ALPHA_8, ALPHA_9, bufSize, charset, CLOSED_BRACKET, CLOSED_CURLY, COLON, COMMA, DECIMAL_POINT, DOUBLE_QUOTE, ESCAPE, internedKeysCache, internKeys, LETTER_BIG_E, LETTER_E, MINUS, PLUS
- 
Constructor SummaryConstructorsConstructorDescriptionJsonFastParser(boolean useValues) JsonFastParser(boolean useValues, boolean chop) JsonFastParser(boolean useValues, boolean chop, boolean lazyChop) JsonFastParser(boolean useValues, boolean chop, boolean lazyChop, boolean checkDates) 
- 
Method SummaryModifier and TypeMethodDescriptionprotected final ObjectdecodeFromChars(char[] cs) protected final Valueprotected ValueMethods inherited from class org.apache.groovy.json.internal.JsonParserCharArraycomplain, currentChar, decodeFalse, decodeJsonArray, decodeJsonObject, decodeNull, decodeTrue, exceptionDetails, hasCurrent, hasMore, nextChar, parse, skipWhiteSpaceMethods inherited from class org.apache.groovy.json.internal.BaseJsonParsercharDescription, findEndQuote, hasEscapeChar, isDecimalChar, isDelimiter, isDoubleQuote, isEscape, isNumberDigit, parse, parse, parse, parse, parse, parse, parse, parse, setCharset
- 
Constructor Details- 
JsonFastParserpublic JsonFastParser()
- 
JsonFastParserpublic JsonFastParser(boolean useValues) 
- 
JsonFastParserpublic JsonFastParser(boolean useValues, boolean chop) 
- 
JsonFastParserpublic JsonFastParser(boolean useValues, boolean chop, boolean lazyChop) 
- 
JsonFastParserpublic JsonFastParser(boolean useValues, boolean chop, boolean lazyChop, boolean checkDates) 
 
- 
- 
Method Details- 
decodeJsonObjectLazyFinalParse
- 
decodeValue- Overrides:
- decodeValuein class- JsonParserCharArray
 
- 
decodeFromChars- Overrides:
- decodeFromCharsin class- JsonParserCharArray
 
 
-