A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _

A

add(char) - Method in CharBuf
add(char[]) - Method in Chr
add(MapItemValue) - Method in LazyValueMap
Adds a new MapItemValue to the mapping.
add(Object) - Method in ValueList
add(MapItemValue) - Method in ValueMap
add(MapItemValue) - Method in ValueMapImpl
Add a MapItemValue to the map.
addBigDecimal(BigDecimal) - Method in CharBuf
addBigInteger(BigInteger) - Method in CharBuf
addBoolean(boolean) - Method in CharBuf
addByte(byte) - Method in CharBuf
addChar(char) - Method in CharBuf
addChars(char[]) - Method in CharBuf
addConverter(Class<T>, Closure<?>) - Method in JsonGenerator.Options
Registers a closure that will be called when the specified type or subtype is serialized.
addDouble(Double) - Method in CharBuf
addFloat(Float) - Method in CharBuf
addInt(Integer) - Method in CharBuf
addJsonEscapedString(char[], boolean) - Method in CharBuf
addJsonFieldName(char[], boolean) - Method in CharBuf
addLine(CharSequence) - Method in CharBuf
addLong(Long) - Method in CharBuf
addNull() - Method in CharBuf
addQuoted(String) - Method in CharBuf
addShort(short) - Method in CharBuf
addString(String) - Method in CharBuf
ALPHA_0 - Field in BaseJsonParser
ALPHA_0 - Field in CharScanner
ALPHA_1 - Field in BaseJsonParser
ALPHA_2 - Field in BaseJsonParser
ALPHA_3 - Field in BaseJsonParser
ALPHA_4 - Field in BaseJsonParser
ALPHA_5 - Field in BaseJsonParser
ALPHA_6 - Field in BaseJsonParser
ALPHA_7 - Field in BaseJsonParser
ALPHA_8 - Field in BaseJsonParser
ALPHA_9 - Field in BaseJsonParser
ALPHA_9 - Field in CharScanner
array(char) - Method in Chr
ArrayUtils - Class in org.apache.groovy.json.internal

B

BaseJsonParser - Class in org.apache.groovy.json.internal
Base JSON parser.
bigDecimalValue() - Method in CharSequenceValue
bigDecimalValue() - Method in NumberValue
bigDecimalValue() - Method in Value
bigDecimalValue() - Method in ValueContainer
bigIntegerValue() - Method in CharSequenceValue
bigIntegerValue() - Method in NumberValue
bigIntegerValue() - Method in Value
bigIntegerValue() - Method in ValueContainer
booleanValue() - Method in CharSequenceValue
booleanValue() - Method in NumberValue
booleanValue() - Method in Value
booleanValue() - Method in ValueContainer
buffer - Field in CharBuf
bufSize - Field in BaseJsonParser
build() - Method in JsonGenerator.Options
Creates a JsonGenerator that is based on the current options.
ByteScanner - Class in org.apache.groovy.json.internal
byteValue() - Method in CharBuf
byteValue() - Method in CharSequenceValue
byteValue() - Method in NumberValue
byteValue() - Method in Value
byteValue() - Method in ValueContainer

C

Cache - Interface in org.apache.groovy.json.internal
Cache
CacheType - Enum in org.apache.groovy.json.internal
call(Closure) - Method in JsonBuilder
A closure passed to a JSON builder will create a root JSON object
call(String, Map, Closure) - Method in StreamingJsonBuilder
If you use named arguments and a closure as last argument, the key/value pairs of the map (as named arguments) and the key/value pairs represented in the closure will be merged together — the closure properties overriding the map key/values in case the same key is used.
call(String, Writable) - Method in StreamingJsonBuilder.StreamingJsonDelegate
Writes the given Writable as the value of the given attribute name
capacity - Field in CharBuf
CharacterSource - Interface in org.apache.groovy.json.internal
charArray - Field in JsonParserCharArray
charAt(int) - Method in CharBuf
charAt(int) - Method in CharSequenceValue
charAt(int) - Method in ValueContainer
CharBuf - Class in org.apache.groovy.json.internal
CharBuf() - Constructor in CharBuf
charDescription(int) - Method in BaseJsonParser
chars(String) - Method in Chr
CharScanner - Class in org.apache.groovy.json.internal
CharSequenceValue - Class in org.apache.groovy.json.internal
CharSequenceValue(boolean, Type, int, int, char[], boolean, boolean) - Constructor in CharSequenceValue
charset - Field in BaseJsonParser
charValue() - Method in CharSequenceValue
charValue() - Method in NumberValue
charValue() - Method in Value
charValue() - Method in ValueContainer
chop() - Method in CharSequenceValue
chop() - Method in NumberValue
chop() - Method in Value
chop() - Method in ValueContainer
chopList() - Method in ValueList
chopMap() - Method in LazyValueMap
Chop this map.
Chr - Class in org.apache.groovy.json.internal
clear() - Method in LazyMap
clear() - Method in ValueList
clearAndCopy() - Method in LazyMap
clone() - Method in LazyMap
cloneDelegateAndGetContent(Closure<?>) - Method in JsonDelegate
Factory method for creating JsonDelegates from closures.
cloneDelegateAndGetContent(Writer, Closure, boolean) - Method in StreamingJsonBuilder.StreamingJsonDelegate
close() - Method in CharBuf
CLOSED_BRACKET - Field in BaseJsonParser
CLOSED_BRACKET - Field in CharScanner
CLOSED_CURLY - Field in BaseJsonParser
CLOSED_CURLY - Field in CharScanner
closure - Field in DefaultJsonGenerator.ClosureConverter
COLON - Field in BaseJsonParser
COMMA - Field in BaseJsonParser
COMMA - Field in CharScanner
complain(String) - Method in JsonParserCharArray
complain(String) - Method in JsonParserUsingCharacterSource
consumeIfMatch(char[]) - Method in CharacterSource
Useful for finding constants in a string like true, false, etc.
consumeIfMatch(char[]) - Method in ReaderCharacterSource
contains(char[], char, int, int) - Method in Chr
containsKey(Object) - Method in LazyMap
containsValue(Object) - Method in LazyMap
convert(Object, String) - Method in DefaultJsonGenerator.ClosureConverter
Converts a given value.
convert(Object, String) - Method in JsonGenerator.Converter
Converts a given object.
converters - Field in DefaultJsonGenerator
converters - Field in JsonGenerator.Options
copy(char[], int, int) - Method in Chr
copy(Reader, Writer) - Method in IO
copyLarge(Reader, Writer, char[]) - Method in IO
copyRange(char[], int, int) - Method in ArrayUtils
create(char[]) - Method in CharBuf
createExact(int) - Method in CharBuf
currentChar() - Method in CharacterSource
returns the current character without changing the IO pointer or index.
currentChar() - Method in JsonParserCharArray
currentChar() - Method in ReaderCharacterSource
curryDelegateAndGetContent(Closure<?>, Object) - Method in JsonDelegate
Factory method for creating JsonDelegates from closures currying an object argument.
curryDelegateAndGetContent(Writer, Closure, Object, boolean) - Method in StreamingJsonBuilder.StreamingJsonDelegate

D

dateFormat - Field in DefaultJsonGenerator
dateFormat - Field in JsonGenerator.Options
dateLocale - Field in DefaultJsonGenerator
dateLocale - Field in JsonGenerator.Options
Dates - Class in org.apache.groovy.json.internal
dateValue() - Method in CharSequenceValue
dateValue() - Method in NumberValue
dateValue() - Method in Value
dateValue() - Method in ValueContainer
debugCharDescription(int) - Method in CharScanner
DECIMAL_POINT - Field in BaseJsonParser
DECIMAL_POINT - Field in CharScanner
decode(char[], int, int) - Method in JsonStringDecoder
decodeFalse() - Method in JsonParserCharArray
decodeFalse() - Method in JsonParserUsingCharacterSource
decodeForSure(char[], int, int) - Method in JsonStringDecoder
decodeFromChars(char[]) - Method in JsonFastParser
decodeFromChars(char[]) - Method in JsonParserCharArray
decodeFromChars(char[]) - Method in JsonParserLax
decodeJsonArray() - Method in JsonParserCharArray
decodeJsonArray() - Method in JsonParserUsingCharacterSource
decodeJsonObject() - Method in JsonParserCharArray
decodeJsonObject() - Method in JsonParserUsingCharacterSource
decodeJsonObjectLazyFinalParse() - Method in JsonFastParser
decodeJsonString(char[], int, int) - Method in CharBuf
decodeNull() - Method in JsonParserCharArray
decodeNull() - Method in JsonParserUsingCharacterSource
decodeNumberLax(boolean) - Method in JsonParserLax
Decodes a number from a JSON value.
decodeStrings - Field in ValueContainer
decodeTrue() - Method in JsonParserCharArray
decodeTrue() - Method in JsonParserUsingCharacterSource
decodeValue() - Method in JsonFastParser
decodeValue() - Method in JsonParserCharArray
decodeValue() - Method in JsonParserLax
DEFAULT_TIMEZONE - Field in JsonGenerator.Options
DefaultFastStringService - Class in org.apache.groovy.json
Internal class for fast processing of Strings during JSON parsing - default version
DefaultFastStringServiceFactory - Class in org.apache.groovy.json
DefaultJsonGenerator - Class in groovy.json
A JsonGenerator that can be configured with various JsonGenerator.Options.
DefaultJsonGenerator.ClosureConverter - Class in groovy.json
A converter that handles converting a given type using a closure.
DefaultJsonGenerator.ClosureConverter(Class<?>, Closure<?>) - Constructor in DefaultJsonGenerator.ClosureConverter
DefaultJsonGenerator(Options) - Constructor in DefaultJsonGenerator
die(Class<T>, String) - Method in Exceptions
disableUnicodeEscaping - Field in DefaultJsonGenerator
disableUnicodeEscaping - Field in JsonGenerator.Options
DOUBLE_QUOTE - Field in BaseJsonParser
doubleValue() - Method in CharBuf
doubleValue() - Method in CharSequenceValue
doubleValue() - Method in NumberValue
doubleValue() - Method in Value
doubleValue() - Method in ValueContainer

E

encodeByteIntoTwoAsciiCharBytes(int, byte[]) - Method in ByteScanner
Turn a single bytes into two hex character representation.
encodeNibbleToHexAsciiCharByte(int) - Method in ByteScanner
Turns a single nibble into an ascii HEX digit.
entrySet() - Method in LazyMap
entrySet() - Method in LazyValueMap
entrySet() - Method in ValueMapImpl
If the map has not been built yet, then we just return a fake entry set.
equals(Object) - Method in CharSequenceValue
equals(Object) - Method in DefaultJsonGenerator.ClosureConverter
Any two Converter instances registered for the same type are considered to be equal.
equals(Object) - Method in LazyMap
equals(Object) - Method in NumberValue
errorDetails(String) - Method in CharacterSource
errorDetails(String, char[], int, int) - Method in CharScanner
errorDetails(String) - Method in ReaderCharacterSource
ESCAPE - Field in BaseJsonParser
escapeJava(Writer, String) - Method in StringEscapeUtils
Escapes the characters in a String using Java String rules to a Writer.
escapeJavaScript(Writer, String) - Method in StringEscapeUtils
Escapes the characters in a String using JavaScript String rules to a Writer.
exceptionDetails(String) - Method in JsonParserCharArray
exceptionDetails(String) - Method in JsonParserUsingCharacterSource
Exceptions - Class in org.apache.groovy.json.internal
Exceptions.JsonInternalException - Class in org.apache.groovy.json.internal
Exceptions.JsonInternalException(Throwable) - Constructor in Exceptions.JsonInternalException
excludedFieldNames - Field in DefaultJsonGenerator
excludedFieldNames - Field in JsonGenerator.Options
excludedFieldTypes - Field in DefaultJsonGenerator
excludedFieldTypes - Field in JsonGenerator.Options
excludeFieldsByName(Iterable<? extends CharSequence>) - Method in JsonGenerator.Options
Excludes from the output any fields that match the specified names.
excludeFieldsByType(Iterable<Class<?>>) - Method in JsonGenerator.Options
Excludes from the output any fields whose type is the same or is assignable to any of the given types.
excludeNulls - Field in DefaultJsonGenerator
excludeNulls - Field in JsonGenerator.Options

F

FALSE - Field in JsonParserCharArray
FALSE - Field in JsonParserUsingCharacterSource
FALSE - Field in ValueContainer
FastStringService - Interface in org.apache.groovy.json
FastStringServiceFactory - Interface in org.apache.groovy.json
Factory method to create the service.
FastStringUtils - Class in org.apache.groovy.json.internal
Internal class for fast processing of Strings during JSON parsing
findConverter(Class<?>) - Method in DefaultJsonGenerator
Finds a converter that can handle the given type.
findEndQuote(char[], int) - Method in BaseJsonParser
findNextChar(int, int) - Method in CharacterSource
Used to find strings and their ilk Finds the next non-escaped char
findNextChar(int, int) - Method in ReaderCharacterSource
first - Field in StreamingJsonBuilder.StreamingJsonDelegate
floatValue() - Method in CharBuf
floatValue() - Method in CharSequenceValue
floatValue() - Method in NumberValue
floatValue() - Method in Value
floatValue() - Method in ValueContainer
flush() - Method in CharBuf
fromISO8601(char[], int, int) - Method in Dates
fromJsonDate(char[], int, int) - Method in Dates

G

get(KEY) - Method in Cache
get(Object) - Method in LazyMap
get(Object) - Method in LazyValueMap
Gets the item by key from the mapping.
get(K) - Method in SimpleCache
get(int) - Method in ValueList
get(Object) - Method in ValueMapImpl
Get the items for the key.
getCause() - Method in Exceptions.JsonInternalException
getContent() - Method in JsonBuilder
getContent() - Method in JsonDelegate
getEndColumn() - Method in JsonToken
getEndLine() - Method in JsonToken
getKey() - Method in MapItemValue
getLabel() - Method in JsonTokenType
getLocalizedMessage() - Method in Exceptions.JsonInternalException
getMaxSizeForInMemory() - Method in JsonSlurper
Max size before Slurper starts to use windowing buffer parser.
getMessage() - Method in Exceptions.JsonInternalException
getObjectProperties(Object) - Method in DefaultJsonGenerator
getReader() - Method in JsonLexer
Underlying reader from which to read the JSON tokens.
getService() - Method in DefaultFastStringServiceFactory
getService() - Method in FastStringServiceFactory
getSilent(KEY) - Method in Cache
getSilent(K) - Method in SimpleCache
getStackTrace() - Method in Exceptions.JsonInternalException
getStartColumn() - Method in JsonToken
getStartLine() - Method in JsonToken
getText() - Method in JsonOutput.JsonUnescaped
getText() - Method in JsonToken
getType() - Method in JsonSlurper
Parser type.
getType() - Method in JsonToken
getValidator() - Method in JsonTokenType
getValue() - Method in JsonToken
Return the value represented by this token (ie. a number, a string, a boolean or null).
getValue() - Method in MapItemValue
getWriter() - Method in StreamingJsonBuilder.StreamingJsonDelegate
@return Obtains the current writer
grow(char[]) - Method in Chr
grow(V) - Method in LazyMap

H

hadEscape() - Method in CharacterSource
hadEscape() - Method in ReaderCharacterSource
handle(String, Throwable) - Method in Exceptions
handles(Class<?>) - Method in DefaultJsonGenerator.ClosureConverter
Returns true if this converter can handle conversions of the given type.
handles(Class<?>) - Method in JsonGenerator.Converter
Returns true if this converter can handle conversions of the given type.
hasChar() - Method in CharacterSource
Checks to see if there is a next character.
hasChar() - Method in ReaderCharacterSource
hasCurrent() - Method in JsonParserCharArray
hasDecimalChar(char[], boolean) - Method in CharScanner
hasEscapeChar(char[], int, int[]) - Method in BaseJsonParser
hashCode() - Method in CharSequenceValue
hashCode() - Method in DefaultJsonGenerator.ClosureConverter
hashCode() - Method in LazyMap
hashCode() - Method in NumberValue
hasMore() - Method in JsonParserCharArray
hasNext() - Method in JsonLexer
Iterator method to know if another token follows, or if we've reached the end of the stream.
hydrated() - Method in LazyValueMap
hydrated() - Method in ValueMap
Has the map been hydrated.
hydrated() - Method in ValueMapImpl

I

in(char, int, int, char[]) - Method in Chr
init() - Method in CharBuf
internedKeysCache - Field in BaseJsonParser
internedKeysCache - Field in MapItemValue
internKeys - Field in BaseJsonParser
intValue() - Method in CharBuf
intValue() - Method in CharSequenceValue
intValue() - Method in NumberValue
intValue() - Method in Value
intValue() - Method in ValueContainer
invokeMethod(String, Object) - Method in JsonBuilder
A method call on the JSON builder instance will create a root object with only one key whose name is the name of the method being called.
invokeMethod(String, Object) - Method in JsonDelegate
Intercepts calls for setting a key and value for a JSON object
invokeMethod(String, Object) - Method in StreamingJsonBuilder
A method call on the JSON builder instance will create a root object with only one key whose name is the name of the method being called.
invokeMethod(String, Object) - Method in StreamingJsonBuilder.StreamingJsonDelegate
IO - Class in org.apache.groovy.json.internal
isCheckDates() - Method in JsonSlurper
Determine if slurper will automatically parse strings it recognizes as dates.
isChop() - Method in JsonSlurper
Turns on buffer chopping for index overlay.
isCollectionWithClosure(Object) - Method in StreamingJsonBuilder.StreamingJsonDelegate
isContainer() - Method in CharSequenceValue
isContainer() - Method in NumberValue
isContainer() - Method in Value
isContainer() - Method in ValueContainer
isDecimalChar(int) - Method in BaseJsonParser
isDecimalChar(int) - Method in CharScanner
isDecimalDigit(int) - Method in CharScanner
isDelimiter(int) - Method in BaseJsonParser
isDelimiter(int) - Method in CharScanner
isDigit(int) - Method in CharScanner
isDoubleQuote(int) - Method in BaseJsonParser
isEmpty() - Method in LazyMap
isEscape(int) - Method in BaseJsonParser
isExcludingFieldsNamed(String) - Method in DefaultJsonGenerator
{@inheritDoc}
isExcludingFieldsNamed(String) - Method in JsonGenerator
Indicates whether this JsonGenerator is configured to exclude fields by the given name.
isExcludingValues(Object) - Method in DefaultJsonGenerator
{@inheritDoc}
isExcludingValues(Object) - Method in JsonGenerator
Indicates whether this JsonGenerator is configured to exclude values of the given object (may be null).
isInteger(char[], int, int) - Method in CharScanner
isISO8601(char[], int, int) - Method in Dates
isISO8601QuickCheck(char[], int, int) - Method in Dates
isJsonDate(char[], int, int) - Method in Dates
isLazyChop() - Method in JsonSlurper
Turns on buffer lazy chopping for index overlay.
isLong(char[], int, int) - Method in CharScanner
isNumberDigit(int) - Method in BaseJsonParser
isNumberDigit(int) - Method in CharScanner
items() - Method in LazyValueMap
items() - Method in ValueMap
Give me the items in the map without hydrating the map.
items() - Method in ValueMapImpl
iterator() - Method in ValueList

J

JSON_DATE_FORMAT - Field in JsonGenerator.Options
JSON_DATE_FORMAT_LOCALE - Field in JsonGenerator.Options
JSON_TIME_LENGTH - Field in Dates
JsonBuilder - Class in groovy.json
A builder for creating JSON payloads.
JsonBuilder(Object, JsonGenerator) - Constructor in JsonBuilder
Instantiates a JSON builder with some existing data structure and a configured generator.
JsonDelegate - Class in groovy.json
Utility class used as delegate of closures representing JSON objects.
JsonException - Class in groovy.json
JsonException is the exception thrown by the JSON builder and slurper classes, whenever a problem occurs when creating or parsing JSON data structures.
JsonException(Throwable) - Constructor in JsonException
JsonFastParser - Class in org.apache.groovy.json.internal
This works in index overlay mode or chop mode.
JsonFastParser(boolean, boolean, boolean, boolean) - Constructor in JsonFastParser
JsonGenerator - Interface in groovy.json
Generates JSON from objects.
JsonGenerator.Converter - Interface in groovy.json
Handles converting a given type.
JsonGenerator.Options - Class in groovy.json
A builder used to construct a JsonGenerator instance that allows control over the serialized JSON output.
JsonGenerator.Options() - Constructor in JsonGenerator.Options
JsonLexer - Class in groovy.json
The lexer reads JSON tokens in a streaming fashion from the underlying reader.
JsonLexer(Reader) - Constructor in JsonLexer
Instantiates a lexer with a reader from which to read JSON tokens.
JsonOutput - Class in groovy.json
Class responsible for the actual String serialization of the possible values of a JSON structure.
JsonOutput.JsonUnescaped - Class in groovy.json
Represents unescaped JSON
JsonOutput.JsonUnescaped(CharSequence) - Constructor in JsonOutput.JsonUnescaped
JsonParser - Interface in groovy.json
This is the parser interface that backs the new JsonSlurper.
JsonParserCharArray - Class in org.apache.groovy.json.internal
Converts an input JSON String into Java objects works with String or char array as input.
JsonParserLax - Class in org.apache.groovy.json.internal
JsonParserLax(boolean, boolean, boolean, boolean) - Constructor in JsonParserLax
JsonParserType - Enum in groovy.json
Allows selection of parser type for new new JsonSlurper.
JsonParserUsingCharacterSource - Class in org.apache.groovy.json.internal
Converts an input JSON String into Java objects works with String or char array as input.
JsonSlurper - Class in groovy.json
This has the same interface as the original JsonSlurper written for version 1.8.0, but its implementation has completely changed.
JsonSlurperClassic - Class in groovy.json
This is the original slurper included in case someone relies on its exact behavior.
JsonStringDecoder - Class in org.apache.groovy.json.internal
JsonToken - Class in groovy.json
A JSON token, with a type, line / column information, and the text of that token.
JsonTokenType - Enum in groovy.json
The original slurper and lexer use this class.

K

keySet() - Method in LazyMap

L

LazyMap - Class in org.apache.groovy.json.internal
This maps only builds once you ask for a key for the first time.
LazyMap(int) - Constructor in LazyMap
LazyValueMap - Class in org.apache.groovy.json.internal
This class is important to the performance of the parser.
LazyValueMap(boolean, int) - Constructor in LazyValueMap
len() - Method in CharBuf
len() - Method in LazyValueMap
len() - Method in ValueMap
Return size w/o hydrating the map.
len() - Method in ValueMapImpl
length() - Method in CharBuf
length() - Method in CharSequenceValue
length() - Method in ValueContainer
LETTER_BIG_E - Field in BaseJsonParser
LETTER_BIG_E - Field in CharScanner
LETTER_E - Field in BaseJsonParser
LETTER_E - Field in CharScanner
list() - Method in ValueList
location() - Method in CharacterSource
This is mostly for debugging and testing.
location - Field in CharBuf
location() - Method in ReaderCharacterSource
longValue() - Method in CharBuf
longValue() - Method in CharSequenceValue
longValue() - Method in NumberValue
longValue() - Method in Value
longValue() - Method in ValueContainer
lpad(char[], int, char) - Method in Chr

M

MapItemValue - Class in org.apache.groovy.json.internal
This holds a mapping from value key to value value to maximize laziness.
MapItemValue(Value, Value) - Constructor in MapItemValue
matching(String) - Method in JsonTokenType
Tells if an input string matches a token.
MINUS - Field in BaseJsonParser
MINUS - Field in CharScanner

N

next() - Method in JsonLexer
Iterator method to get the next token of the stream.
nextChar() - Method in CharacterSource
returns the next character moving the file pointer or index to the next location.
nextChar() - Method in JsonParserCharArray
nextChar() - Method in ReaderCharacterSource
nextToken() - Method in JsonLexer
@return the next token from the stream
noCopyStringFromChars(char[]) - Method in DefaultFastStringService
noCopyStringFromChars(char[]) - Method in FastStringService
@param chars to shove array into.
noCopyStringFromChars(char[]) - Method in FastStringUtils
@param chars to shove array into.
NULL - Field in JsonParserCharArray
NULL - Field in JsonParserUsingCharacterSource
NULL - Field in ValueContainer
NumberValue - Class in org.apache.groovy.json.internal
NumberValue(boolean, Type, int, int, char[]) - Constructor in NumberValue

O

P

paramCount - Field in DefaultJsonGenerator.ClosureConverter
parse(File, String) - Method in BaseJsonParser
parse(File, String) - Method in JsonParser
parse(char[]) - Method in JsonParserCharArray
parse(char[]) - Method in JsonParserUsingCharacterSource
parse(Map, URL, String) - Method in JsonSlurper
Parse a JSON data structure from content at a given URL.
parse(Map, URL, String) - Method in JsonSlurperClassic
Parse a JSON data structure from content at a given URL.
parseBigDecimal(char[]) - Method in CharScanner
parseDouble(char[], int, int) - Method in CharScanner
parseFloat(char[], int, int) - Method in CharScanner
parseInt(char[]) - Method in CharScanner
parseIntFromTo(char[], int, int) - Method in CharScanner
parseIntFromToIgnoreDot(char[], int, int) - Method in CharScanner
parseJsonNumber(char[], int, int, int[]) - Method in CharScanner
parseLong(char[]) - Method in CharScanner
parseLongFromTo(char[], int, int) - Method in CharScanner
parseLongFromToIgnoreDot(char[], int, int) - Method in CharScanner
parseText(String) - Method in JsonSlurper
Parse a text representation of a JSON data structure
parseText(String) - Method in JsonSlurperClassic
Parse a text representation of a JSON data structure
PLUS - Field in BaseJsonParser
PLUS - Field in CharScanner
prettyPrint(String) - Method in JsonOutput
Pretty print a JSON payload.
printStackTrace() - Method in Exceptions.JsonInternalException
put(KEY, VALUE) - Method in Cache
put(String, Object) - Method in LazyMap
put(String, Object) - Method in LazyValueMap
put(K, V) - Method in SimpleCache
put(String, Value) - Method in ValueMapImpl
putAll(Map) - Method in LazyMap

Q

R

read(Reader, CharBuf, int) - Method in IO
ReaderCharacterSource - Class in org.apache.groovy.json.internal
ReaderCharacterSource(String) - Constructor in ReaderCharacterSource
readForRecycle() - Method in CharBuf
readNumber() - Method in CharacterSource
Reads a number from the character source.
readNumber(char[], int, int) - Method in CharScanner
readNumber() - Method in ReaderCharacterSource
recycle() - Method in CharBuf
remove(KEY) - Method in Cache
remove() - Method in JsonLexer
Method not implemented.
remove(Object) - Method in LazyMap
remove(K) - Method in SimpleCache
removeLastChar(char) - Method in CharBuf

S

safeNextChar() - Method in CharacterSource
Combines the operations of nextChar and hasChar.
safeNextChar() - Method in ReaderCharacterSource
setCharset(String) - Method in BaseJsonParser
setCheckDates(boolean) - Method in JsonSlurper
Determine if slurper will automatically parse strings it recognizes as dates.
setChop(boolean) - Method in JsonSlurper
Turns on buffer chopping for index overlay.
setEndColumn(long) - Method in JsonToken
setEndLine(long) - Method in JsonToken
setLazyChop(boolean) - Method in JsonSlurper
Turns on buffer lazy chopping for index overlay.
setMaxSizeForInMemory(int) - Method in JsonSlurper
Max size before Slurper starts to use windowing buffer parser.
setStartColumn(long) - Method in JsonToken
setStartLine(long) - Method in JsonToken
setText(String) - Method in JsonToken
setType(JsonParserType) - Method in JsonSlurper
Parser type.
setType(JsonTokenType) - Method in JsonToken
setValue(Value) - Method in MapItemValue
shortValue() - Method in CharBuf
shortValue() - Method in CharSequenceValue
shortValue() - Method in NumberValue
shortValue() - Method in Value
shortValue() - Method in ValueContainer
shouldExcludeType(Class<?>) - Method in DefaultJsonGenerator
Indicates whether the given type should be excluded from the generated output.
SimpleCache - Class in org.apache.groovy.json.internal
SimpleCache(int) - Constructor in SimpleCache
size() - Method in Cache
size() - Method in LazyMap
size() - Method in LazyValueMap
size() - Method in SimpleCache
size() - Method in ValueList
size() - Method in ValueMapImpl
Return the size of the map.
skipWhiteSpace() - Method in CharacterSource
Skip white space.
skipWhiteSpace(char[], int, int) - Method in CharScanner
skipWhitespace() - Method in JsonLexer
Skips all the whitespace characters and moves the cursor to the next non-space character.
skipWhiteSpace() - Method in JsonParserCharArray
skipWhiteSpace() - Method in ReaderCharacterSource
sputs(Object) - Method in Exceptions
startingWith(char) - Method in JsonTokenType
Find which JSON value might be starting with a given character
state - Field in StreamingJsonBuilder.StreamingJsonDelegate
StreamingJsonBuilder - Class in groovy.json
A builder for creating JSON payloads.
StreamingJsonBuilder.StreamingJsonDelegate - Class in groovy.json
The delegate used when invoking closures
StreamingJsonBuilder.StreamingJsonDelegate(Writer, boolean, JsonGenerator) - Constructor in StreamingJsonBuilder.StreamingJsonDelegate
StreamingJsonBuilder(Writer, Object, JsonGenerator) - Constructor in StreamingJsonBuilder
Instantiates a JSON builder, possibly with some existing data structure and the given generator.
StringEscapeUtils - Class in groovy.json
Escapes and unescapes Strings for Java, Java Script, HTML, XML, and SQL.
StringEscapeUtils() - Constructor in StringEscapeUtils
stringValue() - Method in CharSequenceValue
stringValue() - Method in NumberValue
stringValue() - Method in Value
stringValue() - Method in ValueContainer
stringValueEncoded() - Method in CharSequenceValue
stringValueEncoded() - Method in NumberValue
stringValueEncoded() - Method in Value
stringValueEncoded() - Method in ValueContainer
subSequence(int, int) - Method in CharBuf
subSequence(int, int) - Method in CharSequenceValue
subSequence(int, int) - Method in ValueContainer

T

timezone - Field in DefaultJsonGenerator
timezone - Field in JsonGenerator.Options
toCharArray() - Method in CharBuf
toCharArray(String) - Method in DefaultFastStringService
toCharArray(String) - Method in FastStringService
@param string string to grab array from.
toCharArray(CharSequence) - Method in FastStringUtils
@param charSequence to grab array from.
toDate(TimeZone, int, int, int, int, int, int, int) - Method in Dates
toDebugString() - Method in CharBuf
toEnum(Class<T>, int) - Method in CharSequenceValue
toEnum(Class<T>, int) - Method in NumberValue
toEnum(Class<T>) - Method in Value
toEnum(Class<T>) - Method in ValueContainer
toIntegerWrapper() - Method in CharBuf
toJson(Object) - Method in DefaultJsonGenerator
{@inheritDoc}
toJson(Object) - Method in JsonGenerator
Converts an object to its JSON representation.
toJson(Map) - Method in JsonOutput
@return a JSON object representation for a map
toPrettyString() - Method in JsonBuilder
Pretty-prints and formats the JSON payload.
toString() - Method in CharBuf
toString() - Method in CharSequenceValue
toString() - Method in DefaultJsonGenerator.ClosureConverter
toString(Exception) - Method in Exceptions
toString() - Method in JsonBuilder
Serializes the internal data structure built with the builder to a conformant JSON payload string
toString() - Method in JsonOutput.JsonUnescaped
toString() - Method in JsonToken
toString() - Method in LazyMap
toString() - Method in LazyValueMap
toString() - Method in NumberValue
toString() - Method in SimpleCache
toString() - Method in ValueContainer
toStringAndRecycle() - Method in CharBuf
toValue() - Method in CharSequenceValue
toValue() - Method in NumberValue
toValue() - Method in Value
toValue() - Method in ValueContainer
TRUE - Field in JsonParserCharArray
TRUE - Field in JsonParserUsingCharacterSource
TRUE - Field in ValueContainer
Type - Enum in org.apache.groovy.json.internal
type - Field in DefaultJsonGenerator.ClosureConverter
type - Field in ValueContainer

U

unescape(String) - Method in JsonLexer
Replace unicode escape and other control characters with real characters
unescaped(CharSequence) - Method in JsonOutput
Obtains JSON unescaped text for the given text
unescapeJava(Writer, String) - Method in StringEscapeUtils
unescapeJavaScript(Writer, String) - Method in StringEscapeUtils
Unescapes any JavaScript literals found in the String to a Writer.
utc(long) - Method in Dates

V

Value - Interface in org.apache.groovy.json.internal
value - Field in ValueContainer
ValueContainer - Class in org.apache.groovy.json.internal
ValueContainer(List<Object>) - Constructor in ValueContainer
ValueList - Class in org.apache.groovy.json.internal
ValueList(boolean) - Constructor in ValueList
ValueMap - Interface in org.apache.groovy.json.internal
ValueMapImpl - Class in org.apache.groovy.json.internal
This map is for object serialization mainly.
values() - Method in LazyMap
values() - Method in LazyValueMap
values() - Method in ValueMapImpl
Return a collection of values.
verifyValue() - Method in StreamingJsonBuilder.StreamingJsonDelegate

W

write(char[], int, int) - Method in CharBuf
writeArray(Class<?>, Object, CharBuf) - Method in DefaultJsonGenerator
Serializes array and writes it into specified buffer.
writeArray(List<Object>) - Method in StreamingJsonBuilder.StreamingJsonDelegate
writeCharSequence(CharSequence, CharBuf) - Method in DefaultJsonGenerator
Serializes any char sequence and writes it into specified buffer.
writeCollectionWithClosure(Writer, Collection, Closure) - Method in StreamingJsonBuilder.StreamingJsonDelegate
writeDate(Date, CharBuf) - Method in DefaultJsonGenerator
Serializes date and writes it into specified buffer.
writeIterator(Iterator<?>, CharBuf) - Method in DefaultJsonGenerator
Serializes iterator and writes it into specified buffer.
writeMap(Map<?, ?>, CharBuf) - Method in DefaultJsonGenerator
Serializes map and writes it into specified buffer.
writeMapEntry(String, Object, CharBuf) - Method in DefaultJsonGenerator
Serializes a map entry and writes it into specified buffer.
writeName(String) - Method in StreamingJsonBuilder.StreamingJsonDelegate
writeNumber(Class<?>, Number, CharBuf) - Method in DefaultJsonGenerator
Serializes Number value and writes it into specified buffer.
writeObject(String, Object, CharBuf) - Method in DefaultJsonGenerator
Serializes object and writes it into specified buffer.
writer - Field in StreamingJsonBuilder.StreamingJsonDelegate
writeRaw(CharSequence, CharBuf) - Method in DefaultJsonGenerator
Serializes any char sequence and writes it into specified buffer without performing any manipulation of the given text.
writeTo(Writer) - Method in JsonBuilder
The JSON builder implements the Writable interface, so that you can have the builder serialize itself the JSON payload to a writer.
writeValue(Object) - Method in StreamingJsonBuilder.StreamingJsonDelegate

X

Y

Z

_

__currentChar - Field in JsonParserCharArray
__index - Field in JsonParserCharArray
_idx(char[], int, byte[], int, int) - Method in Chr
_len(int) - Method in CharBuf
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z _