A C D E G I J N O P R T 

A

arraySize() - Method in class org.easygson.JsonEntity
Returns the size of the array
asBigDecimal() - Method in class org.easygson.JsonEntity
Returns the current primitive element as a BigDecimal
asBigDecimal(int) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive at the position in the array as a BigDecimal
asBigDecimal(String) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive with property name from the object as a BigDecimal
asBigInteger() - Method in class org.easygson.JsonEntity
Returns the current primitive element as a BigInteger
asBigInteger(int) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive at the position in the array as a BigDecimal
asBigInteger(String) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive with property name from the object as a BigInteger
asBoolean() - Method in class org.easygson.JsonEntity
Returns the current primitive element as a boolean
asBoolean(int) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive at the position in the array as a boolean
asBoolean(String) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive with property name from the object as a boolean
asByte() - Method in class org.easygson.JsonEntity
Returns the current primitive element as a byte
asByte(int) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive at the position in the array as a byte
asByte(String) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive with property name from the object as a byte
asCharacter() - Method in class org.easygson.JsonEntity
Returns the current primitive element as a Character
asCharacter(int) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive at the position in the array as a Character
asCharacter(String) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive with property name from the object as a Character
asDouble() - Method in class org.easygson.JsonEntity
Returns the current primitive element as a double
asDouble(int) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive at the position in the array as a double
asDouble(String) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive with property name from the object as a double
asFloat() - Method in class org.easygson.JsonEntity
Returns the current primitive element as a float
asFloat(int) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive at the position in the array as a float
asFloat(String) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive with property name from the object as a float
asInt() - Method in class org.easygson.JsonEntity
Returns the current primitive element as an int
asInt(int) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive at the position in the array as an int
asInt(String) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive with property name from the object as an int
asShort() - Method in class org.easygson.JsonEntity
Returns the current primitive element as a short
asShort(int) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive at the position in the array as a short
asShort(String) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive with property name from the object as a short
asString() - Method in class org.easygson.JsonEntity
Returns the current primitive element as a String
asString(int) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive at the position in the array as a String
asString(String) - Method in class org.easygson.JsonEntity
Convenience method for returning the primitive with property name from the object as a String

C

create(String, JsonEntity) - Method in class org.easygson.JsonEntity
Creates a JsonEntity under property name in the object.
create(JsonEntity) - Method in class org.easygson.JsonEntity
Appends a JsonEntity to the end of the array.
create(int, JsonEntity) - Method in class org.easygson.JsonEntity
Inserts a JsonEntity at the designated position in the array.
create(String, JsonElement) - Method in class org.easygson.JsonEntity
Creates a JsonElement under property name in the object.
create(JsonElement) - Method in class org.easygson.JsonEntity
Appends a JsonEntity to the end of the array.
create(int, JsonElement) - Method in class org.easygson.JsonEntity
Inserts a JsonElement at the designated position in the array.
create(String, String) - Method in class org.easygson.JsonEntity
Creates a String value under property name in the object.
create(String) - Method in class org.easygson.JsonEntity
Appends a String value to the array.
create(int, String) - Method in class org.easygson.JsonEntity
Inserts a String value at the position in the array.
create(String, Number) - Method in class org.easygson.JsonEntity
Creates a Number value under property name in the object.
create(Number) - Method in class org.easygson.JsonEntity
Appends a Number value to the array.
create(int, Number) - Method in class org.easygson.JsonEntity
Inserts a Number value at the position in the array.
create(String, Boolean) - Method in class org.easygson.JsonEntity
Creates a Boolean value under property name in the object.
create(Boolean) - Method in class org.easygson.JsonEntity
Appends a Boolean value to the array.
create(int, Boolean) - Method in class org.easygson.JsonEntity
Inserts a Boolean value at the position in the array.
create(String, Character) - Method in class org.easygson.JsonEntity
Creates a Character value under property name in the object.
create(Character) - Method in class org.easygson.JsonEntity
Appends a Character value to the array.
create(int, Character) - Method in class org.easygson.JsonEntity
Inserts a Character value at the position in the array.
createArray(String) - Method in class org.easygson.JsonEntity
Creates an array within an object.
createArray() - Method in class org.easygson.JsonEntity
Creates an array within an array and adds it as the last element.
createArray(int) - Method in class org.easygson.JsonEntity
Creates an array within an array and adds it at the designated position.
createObject(String) - Method in class org.easygson.JsonEntity
Creates an object within an object.
createObject() - Method in class org.easygson.JsonEntity
Creates an object within an array and adds it as the last element.
createObject(int) - Method in class org.easygson.JsonEntity
Creates an object within an array and adds it at the designated position.

D

detachedCopy() - Method in class org.easygson.JsonEntity
Copies the current node without the reference to the parent and property.

E

emptyArray() - Static method in class org.easygson.JsonEntity
Provides a starting point, in this case an empty array
emptyObject() - Static method in class org.easygson.JsonEntity
Provides a starting point, in this case an empty object
ensureArray(String) - Method in class org.easygson.JsonEntity
Returns the array in an object with the designated name.
ensureArray(int) - Method in class org.easygson.JsonEntity
Returns the array in an array with a designated position.
ensureObject(String) - Method in class org.easygson.JsonEntity
Returns the object in an object with the designated name.
ensureObject(int) - Method in class org.easygson.JsonEntity
Returns the object in an array with a designated position.

G

get(int) - Method in class org.easygson.JsonEntity
Returns an element on the basis of an index.
get(String) - Method in class org.easygson.JsonEntity
Returns an element on the basis of a property name.

I

isArray() - Method in class org.easygson.JsonEntity
If the current element is an array, this method will return true
isNull() - Method in class org.easygson.JsonEntity
If the current element is empty (ie, 'null'), this method will return true
isObject() - Method in class org.easygson.JsonEntity
If the current element is an object, this method will return true
isPrimitive() - Method in class org.easygson.JsonEntity
If the current element is a primitive, this method will return true
iterator() - Method in class org.easygson.JsonEntity
Returns the children in the current array as an iterator.

J

JsonEntity - Class in org.easygson
EasyGson is a wrapper for Gson, the excellent Google Java Json library.
JsonEntity(String) - Constructor for class org.easygson.JsonEntity
Constructor that takes a JSON string representation and transforms it into a JsonEntity
JsonEntity(JsonElement) - Constructor for class org.easygson.JsonEntity
Constructor that takes a Gson JsonElement and transforms it into a JsonEntity
JsonEntityException - Exception in org.easygson
Exception that shows where in a JSON tree a problem took place and what it was
JsonEntityException(JsonEntity, Exception, String) - Constructor for exception org.easygson.JsonEntityException
Constructor for the exception always takes into account a valid JsonEntity object to report on

N

name() - Method in class org.easygson.JsonEntity
Returns the property name the current element has within the parent.
nullify(String) - Method in class org.easygson.JsonEntity
Sets the element with name property to a null value.
nullify(int) - Method in class org.easygson.JsonEntity
Sets the element at index in the array to a null value.

O

org.easygson - package org.easygson
 

P

parent() - Method in class org.easygson.JsonEntity
Returns the parent of the current element.

R

raw() - Method in class org.easygson.JsonEntity
Returns the wrapped JsonElement of Gson.
remove(String) - Method in class org.easygson.JsonEntity
Removes the element with name property from the object.
remove(int) - Method in class org.easygson.JsonEntity
Removes the element at index from the array.

T

toString() - Method in class org.easygson.JsonEntity
Uses the JsonElement.toString() to show the JSON string representation
toString() - Method in exception org.easygson.JsonEntityException
the path of the JsonEntity is determined by tracing the parent method and pushing all findings to a stack.
A C D E G I J N O P R T 

Copyright © 2013 42 BV. All Rights Reserved.