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(org.apache.groovy.json.internal.MapItemValue) - Method in LazyValueMap
Adds a new MapItemValue to the mapping.
add(java.lang.Object) - Method in ValueList
add(org.apache.groovy.json.internal.MapItemValue) - Method in ValueMap
add(org.apache.groovy.json.internal.MapItemValue) - Method in ValueMapImpl
addBigDecimal(java.math.BigDecimal) - Method in CharBuf
addBigInteger(java.math.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(java.lang.Double) - Method in CharBuf
addFloat(java.lang.Float) - Method in CharBuf
addInt(java.lang.Integer) - Method in CharBuf
addJsonEscapedString(char[], boolean) - Method in CharBuf
addJsonFieldName(char[], boolean) - Method in CharBuf
addLine(java.lang.CharSequence) - Method in CharBuf
addLong(java.lang.Long) - Method in CharBuf
addNull() - Method in CharBuf
addQuoted(java.lang.String) - Method in CharBuf
addShort(short) - Method in CharBuf
addString(java.lang.String) - Method in CharBuf
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
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(groovy.lang.Closure) - Method in JsonBuilder
A closure passed to a JSON builder will create a root JSON object
call(java.lang.String, java.util.Map, groovy.lang.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(java.lang.String, groovy.lang.Writable) - Method in StreamingJsonBuilder.StreamingJsonDelegate
Writes the given Writable as the value of the given attribute name
CHAR_BUFFER - Enum Constant in JsonParserType
This is a basic parser with no index overlay.
CHARACTER_SOURCE - Enum Constant in JsonParserType
Parser uses an abstraction that allows it to handle any size file by using a char [] windowing, built on top or Reader.
CharacterSource - Interface in org.apache.groovy.json.internal
charAt(int) - Method in CharBuf
charAt(int) - Method in CharSequenceValue
charAt(int) - Method in ValueContainer
CharBuf - Class in org.apache.groovy.json.internal
CharBuf(byte[]) - Constructor in CharBuf
chars(java.lang.String) - Method in Chr
CharScanner - Class in org.apache.groovy.json.internal
CharSequenceValue - Class in org.apache.groovy.json.internal
CharSequenceValue(boolean, org.apache.groovy.json.internal.Type, int, int, char[], boolean, boolean) - Constructor in CharSequenceValue
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
cloneDelegateAndGetContent(Closure<?>) - Method in JsonDelegate
Factory method for creating JsonDelegates from closures.
cloneDelegateAndGetContent(java.io.Writer, groovy.lang.Closure, boolean) - Method in StreamingJsonBuilder.StreamingJsonDelegate
CLOSE_BRACKET - Enum Constant in JsonTokenType
close() - Method in CharBuf
CLOSE_CURLY - Enum Constant in JsonTokenType
COLON - Enum Constant in JsonTokenType
COMMA - Enum Constant in JsonTokenType
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(java.lang.Object) - Method in LazyMap
containsValue(java.lang.Object) - Method in LazyMap
convert(java.lang.Object, java.lang.String) - Method in JsonGenerator.Converter
Converts a given object.
copy(char[], int, int) - Method in Chr
copy(java.io.Reader, java.io.Writer) - Method in IO
copyLarge(java.io.Reader, java.io.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 ReaderCharacterSource
curryDelegateAndGetContent(Closure<?>, java.lang.Object) - Method in JsonDelegate
Factory method for creating JsonDelegates from closures currying an object argument.
curryDelegateAndGetContent(java.io.Writer, groovy.lang.Closure, java.lang.Object, boolean) - Method in StreamingJsonBuilder.StreamingJsonDelegate

D

dateFormat(java.lang.String, java.util.Locale) - Method in JsonGenerator.Options
Sets the date format that will be used to serialize Date objects.
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
decode(char[], int, int) - Method in JsonStringDecoder
decodeForSure(char[], int, int) - Method in JsonStringDecoder
decodeJsonString(char[], int, int) - Method in CharBuf
decodeStrings - Field in ValueContainer
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.
die(Class<T>, java.lang.String) - Method in Exceptions
disableUnicodeEscaping() - Method in JsonGenerator.Options
Disables the escaping of Unicode characters in JSON String values.
doCall(java.lang.String) - Method in JsonTokenType
DOUBLE - Enum Constant in Type
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.
entrySet() - Method in LazyMap
entrySet() - Method in LazyValueMap
entrySet() - Method in ValueMapImpl
equals(java.lang.Object) - Method in CharSequenceValue
equals(java.lang.Object) - Method in LazyMap
equals(java.lang.Object) - Method in NumberValue
errorDetails(java.lang.String) - Method in CharacterSource
errorDetails(java.lang.String, char[], int, int) - Method in CharScanner
errorDetails(java.lang.String) - Method in ReaderCharacterSource
escapeJava(java.io.Writer, java.lang.String) - Method in StringEscapeUtils
Escapes the characters in a String using Java String rules to a Writer.
escapeJavaScript(java.io.Writer, java.lang.String) - Method in StringEscapeUtils
Escapes the characters in a String using JavaScript String rules to a Writer.
Exceptions - Class in org.apache.groovy.json.internal
Exceptions.JsonInternalException - Class in org.apache.groovy.json.internal
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() - Method in JsonGenerator.Options
Do not serialize null values.

F

FALSE - Enum Constant in JsonTokenType
FALSE - Enum Constant in Type
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
FIFO - Enum Constant in CacheType
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
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(java.lang.Object) - Method in LazyMap
get(java.lang.Object) - Method in LazyValueMap
Gets the item by key from the mapping.
get(K) - Method in SimpleCache
get(int) - Method in ValueList
get(java.lang.Object) - Method in ValueMapImpl
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
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
Returns:
Obtains the current writer
grow(char[]) - Method in Chr
grow(V) - Method in LazyMap

H

hadEscape() - Method in CharacterSource
hadEscape() - Method in ReaderCharacterSource
handle(java.lang.String, java.lang.Throwable) - Method in Exceptions
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
hasDecimalChar(char[], boolean) - Method in CharScanner
hashCode() - Method in CharSequenceValue
hashCode() - Method in LazyMap
hashCode() - Method in NumberValue
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
INDEX_OVERLAY - Enum Constant in JsonParserType
Fastest parser, but has pointers (indexes really) to original char buffer.
init() - Method in CharBuf
INTEGER - Enum Constant in Type
intValue() - Method in CharBuf
intValue() - Method in CharSequenceValue
intValue() - Method in NumberValue
intValue() - Method in Value
intValue() - Method in ValueContainer
invokeMethod(java.lang.String, java.lang.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(java.lang.String, java.lang.Object) - Method in JsonDelegate
Intercepts calls for setting a key and value for a JSON object
invokeMethod(java.lang.String, java.lang.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(java.lang.String, java.lang.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(java.lang.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 CharScanner
isDecimalDigit(int) - Method in CharScanner
isDigit(int) - Method in CharScanner
isEmpty() - Method in LazyMap
isExcludingFieldsNamed(java.lang.String) - Method in DefaultJsonGenerator
{@inheritDoc}
isExcludingFieldsNamed(java.lang.String) - Method in JsonGenerator
Indicates whether this JsonGenerator is configured to exclude fields by the given name.
isExcludingValues(java.lang.Object) - Method in DefaultJsonGenerator
{@inheritDoc}
isExcludingValues(java.lang.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 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_TIME_LENGTH - Field in Dates
JsonBuilder - Class in groovy.json
A builder for creating JSON payloads.
JsonBuilder(java.lang.Object, groovy.json.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(java.lang.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.
JsonInternalException(java.lang.Throwable) - Constructor in Exceptions.JsonInternalException
JsonLexer - Class in groovy.json
The lexer reads JSON tokens in a streaming fashion from the underlying reader.
JsonLexer(java.io.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
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.
JsonUnescaped(java.lang.CharSequence) - Constructor in JsonOutput.JsonUnescaped

K

keySet() - Method in LazyMap

L

LAX - Enum Constant in JsonParserType
LAX mode allows keys with no quotes, keys with single quotes, strings elements in JSON with no quotes or single quotes.
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
LFU - Enum Constant in CacheType
LIST - Enum Constant in Type
list() - Method in ValueList
location() - Method in CharacterSource
This is mostly for debugging and testing.
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
LRU - Enum Constant in CacheType

M

MAP - Enum Constant in Type
MapItemValue - Class in org.apache.groovy.json.internal
This holds a mapping from value key to value value to maximize laziness.
MapItemValue(org.apache.groovy.json.internal.Value, org.apache.groovy.json.internal.Value) - Constructor in MapItemValue
matching(java.lang.String) - Method in JsonTokenType
Tells if an input string matches a token.

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 ReaderCharacterSource
nextToken() - Method in JsonLexer
Returns:
the next token from the stream
noCopyStringFromChars(char[]) - Method in DefaultFastStringService
noCopyStringFromChars(char[]) - Method in FastStringService
Parameters:
chars - to shove array into.
noCopyStringFromChars(char[]) - Method in FastStringUtils
Parameters:
chars - to shove array into.
NULL - Enum Constant in JsonTokenType
NULL - Enum Constant in Type
NULL - Field in ValueContainer
NUMBER - Enum Constant in JsonTokenType
NumberValue - Class in org.apache.groovy.json.internal
NumberValue(boolean, org.apache.groovy.json.internal.Type, int, int, char[]) - Constructor in NumberValue

O

OPEN_BRACKET - Enum Constant in JsonTokenType
OPEN_CURLY - Enum Constant in JsonTokenType
Options() - Constructor in JsonGenerator.Options

P

parse(java.io.File, java.lang.String) - Method in BaseJsonParser
parse(java.io.File, java.lang.String) - Method in JsonParser
parse(char[]) - Method in JsonParserCharArray
parse(char[]) - Method in JsonParserUsingCharacterSource
parse(java.util.Map, java.net.URL, java.lang.String) - Method in JsonSlurper
Parse a JSON data structure from content at a given URL.
parse(java.util.Map, java.net.URL, java.lang.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(java.lang.String) - Method in JsonSlurper
Parse a text representation of a JSON data structure
parseText(java.lang.String) - Method in JsonSlurperClassic
Parse a text representation of a JSON data structure
prettyPrint(java.lang.String) - Method in JsonOutput
Pretty print a JSON payload.
printStackTrace() - Method in Exceptions.JsonInternalException
put(KEY, VALUE) - Method in Cache
put(java.lang.String, java.lang.Object) - Method in LazyMap
put(java.lang.String, java.lang.Object) - Method in LazyValueMap
put(K, V) - Method in SimpleCache
put(java.lang.String, org.apache.groovy.json.internal.Value) - Method in ValueMapImpl
putAll(java.util.Map) - Method in LazyMap

Q

R

read(java.io.Reader, org.apache.groovy.json.internal.CharBuf, int) - Method in IO
ReaderCharacterSource - Class in org.apache.groovy.json.internal
ReaderCharacterSource(java.lang.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(java.lang.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(java.lang.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(java.lang.String) - Method in JsonToken
setType(groovy.json.JsonParserType) - Method in JsonSlurper
Parser type.
setType(groovy.json.JsonTokenType) - Method in JsonToken
setValue(org.apache.groovy.json.internal.Value) - Method in MapItemValue
shortValue() - Method in CharBuf
shortValue() - Method in CharSequenceValue
shortValue() - Method in NumberValue
shortValue() - Method in Value
shortValue() - Method in ValueContainer
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 ReaderCharacterSource
sputs(java.lang.Object) - Method in Exceptions
startingWith(char) - Method in JsonTokenType
Find which JSON value might be starting with a given character
StreamingJsonBuilder - Class in groovy.json
A builder for creating JSON payloads.
StreamingJsonBuilder.StreamingJsonDelegate - Class in groovy.json
The delegate used when invoking closures
StreamingJsonBuilder(java.io.Writer, java.lang.Object, groovy.json.JsonGenerator) - Constructor in StreamingJsonBuilder
Instantiates a JSON builder, possibly with some existing data structure and the given generator.
StreamingJsonDelegate(java.io.Writer, boolean, groovy.json.JsonGenerator) - Constructor in StreamingJsonBuilder.StreamingJsonDelegate
STRING - Enum Constant in JsonTokenType
Original pattern throws the StackOverflowError for long strings with backslashes.
STRING - Enum Constant in Type
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(java.lang.String) - Method in JsonGenerator.Options
Sets the time zone that will be used to serialize dates.
toCharArray() - Method in CharBuf
toCharArray(java.lang.String) - Method in DefaultFastStringService
toCharArray(java.lang.String) - Method in FastStringService
Parameters:
string - string to grab array from.
toCharArray(java.lang.CharSequence) - Method in FastStringUtils
Parameters:
charSequence - to grab array from.
toDate(java.util.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(java.lang.Object) - Method in DefaultJsonGenerator
{@inheritDoc}
toJson(java.lang.Object) - Method in JsonGenerator
Converts an object to its JSON representation.
toJson(java.util.Map) - Method in JsonOutput
Returns:
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(java.lang.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 - Enum Constant in JsonTokenType
TRUE - Enum Constant in Type
TRUE - Field in ValueContainer
Type - Enum in org.apache.groovy.json.internal
type - Field in ValueContainer

U

unescape(java.lang.String) - Method in JsonLexer
Replace unicode escape and other control characters with real characters
unescaped(java.lang.CharSequence) - Method in JsonOutput
Obtains JSON unescaped text for the given text
unescapeJava(java.io.Writer, java.lang.String) - Method in StringEscapeUtils
unescapeJavaScript(java.io.Writer, java.lang.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.

W

write(char[], int, int) - Method in CharBuf
writeCollectionWithClosure(java.io.Writer, java.util.Collection, groovy.lang.Closure) - Method in StreamingJsonBuilder.StreamingJsonDelegate
writeTo(java.io.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.

X

Y

Z

_

_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 _