A B C D E F G H I J L M N O P R S T U

A

add(Object) - Method in class flexjson.ChainedSet
 
add(T, Class) - Method in class flexjson.locators.TypeLocator
 
addAll(Collection) - Method in class flexjson.ChainedSet
 
ArrayObjectFactory - Class in flexjson.factories
 
ArrayObjectFactory() - Constructor for class flexjson.factories.ArrayObjectFactory
 

B

back() - Method in class flexjson.JSONTokener
Back up one character.
BeanObjectFactory - Class in flexjson.factories
 
BeanObjectFactory() - Constructor for class flexjson.factories.BeanObjectFactory
 
bind(Object) - Method in class flexjson.ObjectBinder
 
bind(Object, Type) - Method in class flexjson.ObjectBinder
 
bindIntoCollection(Collection, T, Type) - Method in class flexjson.ObjectBinder
 
bindIntoMap(Map, Map<Object, Object>, Type, Type) - Method in class flexjson.ObjectBinder
 
bindIntoObject(Map, Object, Type) - Method in class flexjson.ObjectBinder
 
BooleanObjectFactory - Class in flexjson.factories
 
BooleanObjectFactory() - Constructor for class flexjson.factories.BooleanObjectFactory
 
ByteObjectFactory - Class in flexjson.factories
 
ByteObjectFactory() - Constructor for class flexjson.factories.ByteObjectFactory
 

C

cannotConvertValueToTargetType(Object, Class) - Method in class flexjson.ObjectBinder
 
ChainedIterator - Class in flexjson
 
ChainedIterator(Set...) - Constructor for class flexjson.ChainedIterator
 
ChainedSet - Class in flexjson
 
ChainedSet(Set) - Constructor for class flexjson.ChainedSet
 
CharacterObjectFactory - Class in flexjson.factories
 
CharacterObjectFactory() - Constructor for class flexjson.factories.CharacterObjectFactory
 
ClassLocator - Interface in flexjson
 
ClassLocatorObjectFactory - Class in flexjson.factories
 
ClassLocatorObjectFactory(ClassLocator) - Constructor for class flexjson.factories.ClassLocatorObjectFactory
 
clear() - Method in class flexjson.ChainedSet
 
contains(Object) - Method in class flexjson.ChainedSet
 
containsAll(Collection) - Method in class flexjson.ChainedSet
 

D

DateObjectFactory - Class in flexjson.factories
 
DateObjectFactory() - Constructor for class flexjson.factories.DateObjectFactory
 
DateObjectFactory(List<DateFormat>) - Constructor for class flexjson.factories.DateObjectFactory
 
DateTransformer - Class in flexjson
 
DateTransformer(String) - Constructor for class flexjson.DateTransformer
 
deepSerialize(Object) - Method in class flexjson.JSONSerializer
This performs a deep serialization of the target instance.
deepSerialize(String, Object) - Method in class flexjson.JSONSerializer
This performs a deep serialization of target instance.
dehexchar(char) - Static method in class flexjson.JSONTokener
Get the hex value of a character (base16).
deserialize(String) - Method in class flexjson.JSONDeserializer
 
DoubleObjectFactory - Class in flexjson.factories
 
DoubleObjectFactory() - Constructor for class flexjson.factories.DoubleObjectFactory
 

E

enqueue(String) - Method in class flexjson.Path
 
EnumObjectFactory - Class in flexjson.factories
 
EnumObjectFactory() - Constructor for class flexjson.factories.EnumObjectFactory
 
equals(Object) - Method in class flexjson.Path
 
equals(Object) - Method in class flexjson.PathExpression
 
exclude(String...) - Method in class flexjson.JSONSerializer
This takes in a dot expression representing fields to exclude when serialize method is called.

F

findClassInMap(Map, Class) - Method in class flexjson.ObjectBinder
 
findClassName(Map, Class) - Method in class flexjson.ObjectBinder
 
flexjson - package flexjson
 
flexjson.factories - package flexjson.factories
 
flexjson.locators - package flexjson.locators
 
FloatObjectFactory - Class in flexjson.factories
 
FloatObjectFactory() - Constructor for class flexjson.factories.FloatObjectFactory
 

G

getActualTypeArguments() - Method in class flexjson.JSONParameterizedType
 
getCurrentPath() - Method in class flexjson.ObjectBinder
 
getExcludes() - Method in class flexjson.JSONSerializer
Return the fields excluded from serialization.
getIncludes() - Method in class flexjson.JSONSerializer
Return the fields included in serialization.
getOwnerType() - Method in class flexjson.JSONParameterizedType
 
getParent() - Method in class flexjson.ChainedSet
 
getPath() - Method in class flexjson.Path
 
getRawType() - Method in class flexjson.JSONParameterizedType
 

H

hashCode() - Method in class flexjson.Path
 
hashCode() - Method in class flexjson.PathExpression
 
hasNext() - Method in class flexjson.ChainedIterator
 
HEX - Static variable in class flexjson.JSONSerializer
 
HTMLEncoder - Class in flexjson
A helper class provided out of the box to encode characters that HTML can't support natively like <, >, &, or ".
HTMLEncoder() - Constructor for class flexjson.HTMLEncoder
 

I

include(String...) - Method in class flexjson.JSONSerializer
This takes in a dot expression representing fields to include when serialize method is called.
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.DateTransformer
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.ArrayObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.BeanObjectFactory
 
instantiate(Class) - Method in class flexjson.factories.BeanObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.BooleanObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.ByteObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.CharacterObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.ClassLocatorObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.DateObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.DoubleObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.EnumObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.FloatObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.IntegerObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.ListObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.LongObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.MapObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.SetObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.ShortObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.SortedSetObjectFactory
 
instantiate(ObjectBinder, Object, Type, Class) - Method in class flexjson.factories.StringObjectFactory
 
instantiate(Class) - Method in class flexjson.ObjectBinder
 
instantiate(ObjectBinder, Object, Type, Class) - Method in interface flexjson.ObjectFactory
This method is called by the deserializer to construct and bind an object.
IntegerObjectFactory - Class in flexjson.factories
 
IntegerObjectFactory() - Constructor for class flexjson.factories.IntegerObjectFactory
 
isEmpty() - Method in class flexjson.ChainedSet
 
isIncluded() - Method in class flexjson.PathExpression
 
isWildcard() - Method in class flexjson.PathExpression
 
iterator() - Method in class flexjson.ChainedSet
 

J

JSON - Annotation Type in flexjson
This annotation is used by JSONSerializer to include or exclude fields from the JSON serialization process.
JSONDeserializer<T> - Class in flexjson
JSONDeserializer takes as input a json string and produces a static typed object graph from that json representation.
JSONDeserializer() - Constructor for class flexjson.JSONDeserializer
 
JSONException - Exception in flexjson
This is a general purpose exception throw whenever JSONSerializer encounters an error.
JSONException(String) - Constructor for exception flexjson.JSONException
 
JSONException(String, Throwable) - Constructor for exception flexjson.JSONException
 
JSONException(Throwable) - Constructor for exception flexjson.JSONException
 
JSONParameterizedType - Class in flexjson
 
JSONParameterizedType(Class, Type...) - Constructor for class flexjson.JSONParameterizedType
 
JSONSerializer - Class in flexjson
JSONSerializer is the main class for performing serialization of Java objects to JSON.
JSONSerializer() - Constructor for class flexjson.JSONSerializer
Create a serializer instance.
JSONTokener - Class in flexjson
A JSONTokener takes a source string and extracts characters and tokens from it.
JSONTokener(Reader) - Constructor for class flexjson.JSONTokener
Construct a JSONTokener from a string.
JSONTokener(String) - Constructor for class flexjson.JSONTokener
Construct a JSONTokener from a string.

L

length() - Method in class flexjson.Path
 
ListObjectFactory - Class in flexjson.factories
 
ListObjectFactory() - Constructor for class flexjson.factories.ListObjectFactory
 
locate(Map, Path) - Method in interface flexjson.ClassLocator
 
locate(Map, Path) - Method in class flexjson.locators.StaticClassLocator
 
locate(Map, Path) - Method in class flexjson.locators.TypeLocator
 
LongObjectFactory - Class in flexjson.factories
 
LongObjectFactory() - Constructor for class flexjson.factories.LongObjectFactory
 

M

MapObjectFactory - Class in flexjson.factories
 
MapObjectFactory() - Constructor for class flexjson.factories.MapObjectFactory
 
matches(Path) - Method in class flexjson.PathExpression
 
more() - Method in class flexjson.JSONTokener
Determine if the source string still contains characters that next() can consume.

N

next() - Method in class flexjson.ChainedIterator
 
next() - Method in class flexjson.JSONTokener
Get the next character in the source string.
next(char) - Method in class flexjson.JSONTokener
Consume the next character, and check that it matches a specified character.
next(int) - Method in class flexjson.JSONTokener
Get the next n characters.
nextClean() - Method in class flexjson.JSONTokener
Get the next char in the string, skipping whitespace.
nextString(char) - Method in class flexjson.JSONTokener
Return the characters up to the next close quote character.
nextTo(char) - Method in class flexjson.JSONTokener
Get the text up but not including the specified character or the end of line, whichever comes first.
nextTo(String) - Method in class flexjson.JSONTokener
Get the text up but not including one of the specified delimiter characters or the end of line, whichever comes first.
nextValue() - Method in class flexjson.JSONTokener
Get the next value.

O

ObjectBinder - Class in flexjson
 
ObjectBinder() - Constructor for class flexjson.ObjectBinder
 
ObjectFactory - Interface in flexjson
ObjectFactory allows you to instantiate specific types of objects on path or class types.

P

parse(String) - Static method in class flexjson.Path
 
parseArray() - Method in class flexjson.JSONTokener
 
Path - Class in flexjson
Internal class used by Flexjson to represent a path to a field within a serialized stream.
Path() - Constructor for class flexjson.Path
 
Path(String...) - Constructor for class flexjson.Path
 
PathExpression - Class in flexjson
This is an internal class for Flexjson.
PathExpression(String, boolean) - Constructor for class flexjson.PathExpression
 
pop() - Method in class flexjson.Path
 
prettyPrint(Object) - Method in class flexjson.JSONSerializer
This will do a serialize the target and pretty print the output so it's easier to read.
prettyPrint(String, Object) - Method in class flexjson.JSONSerializer
This will do a serialize with root name and pretty print the output so it's easier to read.

R

remove() - Method in class flexjson.ChainedIterator
 
remove(Object) - Method in class flexjson.ChainedSet
 
removeAll(Collection) - Method in class flexjson.ChainedSet
 
retainAll(Collection) - Method in class flexjson.ChainedSet
 

S

serialize(String, Object) - Method in class flexjson.JSONSerializer
This performs a shallow serialization of target instance.
serialize(Object) - Method in class flexjson.JSONSerializer
This performs a shallow serialization of the target instance.
setExcludes(List) - Method in class flexjson.JSONSerializer
Sets the fields excluded in serialization.
setIncludes(List) - Method in class flexjson.JSONSerializer
Sets the fields included in serialization.
SetObjectFactory - Class in flexjson.factories
 
SetObjectFactory() - Constructor for class flexjson.factories.SetObjectFactory
 
ShortObjectFactory - Class in flexjson.factories
 
ShortObjectFactory() - Constructor for class flexjson.factories.ShortObjectFactory
 
size() - Method in class flexjson.ChainedSet
 
skipTo(char) - Method in class flexjson.JSONTokener
Skip characters until the next character is the requested character.
SortedSetObjectFactory - Class in flexjson.factories
 
SortedSetObjectFactory() - Constructor for class flexjson.factories.SortedSetObjectFactory
 
StaticClassLocator - Class in flexjson.locators
Simple implementation for translating an object path to a single class.
StaticClassLocator(Class) - Constructor for class flexjson.locators.StaticClassLocator
 
StringObjectFactory - Class in flexjson.factories
 
StringObjectFactory() - Constructor for class flexjson.factories.StringObjectFactory
 
syntaxError(String) - Method in class flexjson.JSONTokener
Make a JSONException to signal a syntax error.

T

toArray() - Method in class flexjson.ChainedSet
 
toArray(Object[]) - Method in class flexjson.ChainedSet
 
toString() - Method in class flexjson.JSONTokener
Make a printable string of this JSONTokener.
toString() - Method in class flexjson.Path
 
toString() - Method in class flexjson.PathExpression
 
transform(Object) - Method in class flexjson.DateTransformer
 
transform(Object) - Method in class flexjson.HTMLEncoder
 
transform(Transformer, String...) - Method in class flexjson.JSONSerializer
This adds a Transformer used to manipulate the value of all the fields you give it.
transform(Object) - Method in interface flexjson.Transformer
 
Transformer - Interface in flexjson
Transformers are used to alter the values written to a Flexjson stream.
TypeLocator<T> - Class in flexjson.locators
This implementation uses a single field out of the object as the type discriminator.
TypeLocator(String) - Constructor for class flexjson.locators.TypeLocator
 

U

use(String, ClassLocator) - Method in class flexjson.JSONDeserializer
 
use(String, Class) - Method in class flexjson.JSONDeserializer
 
use(Class, ObjectFactory) - Method in class flexjson.JSONDeserializer
 
use(String, ObjectFactory) - Method in class flexjson.JSONDeserializer
 
use(ObjectFactory, String...) - Method in class flexjson.JSONDeserializer
 
use(Path, ObjectFactory) - Method in class flexjson.ObjectBinder
 
use(Class, ObjectFactory) - Method in class flexjson.ObjectBinder
 
useMostSpecific(Class, Class) - Method in class flexjson.ObjectBinder
 

A B C D E F G H I J L M N O P R S T U