A C E G I J L M N S V

A

ASSIGN_ELEMENT - Static variable in class json.serialize.JSONSerializer
Constant String

C

Car - Class in json.serialize.test.entity
An abstract car class for demonstration.
Car() - Constructor for class json.serialize.test.entity.Car
 

E

END_ARRAY - Static variable in class json.serialize.JSONSerializer
Constant String
END_OBJECT - Static variable in class json.serialize.JSONSerializer
Constant String
END_STRING - Static variable in class json.serialize.JSONSerializer
Constant String

G

getAttributes() - Method in class json.serialize.test.entity.Lancer
Returns various attributes of Lancer
getAttributes() - Method in class json.serialize.test.entity.Vehicle
Returns the various attributes of the vehicle
getMode() - Method in class json.serialize.test.entity.Car
Returns the travelling mode of the car
getMode() - Method in class json.serialize.test.entity.Vehicle
Returns the travelling mode of the vehicle
getName() - Method in class json.serialize.test.entity.Car
Returns the name of the car
getName() - Method in class json.serialize.test.entity.Lancer
Returns Mitsubishi Lancer
getName() - Method in class json.serialize.test.entity.Vehicle
Returns the name of the vehicle

I

isArray(Object) - Method in class json.serialize.JSONSerializer
This function checks if an object is an array of primitive objects.
isPrimitive(Object) - Method in class json.serialize.JSONSerializer
This function checks if an object is representative of primitive data types, such as Boolean ad String.
isSerializable(Object) - Method in class json.serialize.JSONSerializer
This function checks if an object is valid for serializable or not.

J

JS_HEXPAD - Static variable in class json.serialize.JSONSerializer
Constant String
JS_NULL - Static variable in class json.serialize.JSONSerializer
Constant String
JS_VAR - Static variable in class json.serialize.JSONSerializer
Constant String
JS_VARSPCSTART - Static variable in class json.serialize.JSONSerializer
Constant String
jsHex(Number) - Method in class json.serialize.JSONSerializer
Converts a number into a JS Hex Number
json.serialize - package json.serialize
 
json.serialize.test - package json.serialize.test
 
json.serialize.test.entity - package json.serialize.test.entity
 
JSONSerializer - Class in json.serialize
This class is responsible for serializing a java object into JSON text.
JSONSerializer() - Constructor for class json.serialize.JSONSerializer
 
JSONSerializerTest - Class in json.serialize.test
This is a test class and example for JSONSerializer.
JSONSerializerTest() - Constructor for class json.serialize.test.JSONSerializerTest
 
jsQuoteString(String) - Method in class json.serialize.JSONSerializer
Converts a String into a JSON representable format
jsVarQuoteString(String) - Method in class json.serialize.JSONSerializer
Converts a String into a JSON variable representable format

L

Lancer - Class in json.serialize.test.entity
A concrete car class representing Mitsubishi Lancer for demonstration.
Lancer() - Constructor for class json.serialize.test.entity.Lancer
 

M

main(String[]) - Static method in class json.serialize.test.JSONSerializerTest
Main program
mAttr - Static variable in class json.serialize.test.entity.Lancer
Single Instance of Attribues

N

NEXT_ELEMENT - Static variable in class json.serialize.JSONSerializer
Constant String

S

serialize(String, Object) - Method in class json.serialize.JSONSerializer
This function returns the JSON representation of an object as a String.
serializeArray(Object[]) - Method in class json.serialize.JSONSerializer
Serializes an array of objects into JSON
serializeBoolean(Boolean) - Method in class json.serialize.JSONSerializer
Serializes a Boolean object into JSON
serializeByte(Byte) - Method in class json.serialize.JSONSerializer
Serializes a Byte object into JSON
serializeCharacter(Character) - Method in class json.serialize.JSONSerializer
Serializes a Character object into JSON
serializeCompositeObject(Object) - Method in class json.serialize.JSONSerializer
Serializes a composite object
serializeDouble(Double) - Method in class json.serialize.JSONSerializer
Serializes a Double object into JSON
serializeEnum(Enum) - Method in class json.serialize.JSONSerializer
Serializes an Enum object into JSON
serializeFloat(Float) - Method in class json.serialize.JSONSerializer
Serializes a Float object into JSON
serializeInteger(Integer) - Method in class json.serialize.JSONSerializer
Serializes an Integer object into JSON
serializeIterable(Iterable) - Method in class json.serialize.JSONSerializer
Serializes an Iterable collection of objects into JSON
serializeLong(Long) - Method in class json.serialize.JSONSerializer
Serializes a Long object into JSON
serializeMap(Map) - Method in class json.serialize.JSONSerializer
Serializes a Map of objects into JSON
serializeNull(Object) - Method in class json.serialize.JSONSerializer
Serializes any Object into JSON null
serializeNumber(Number) - Method in class json.serialize.JSONSerializer
Serializes a Number object into JSON
serializeObject(Object) - Method in class json.serialize.JSONSerializer
Serializes an object
serializePrimitive(Object) - Method in class json.serialize.JSONSerializer
Serializes a primitive object into JSON
serializeShort(Short) - Method in class json.serialize.JSONSerializer
Serializes a Short object into JSON
serializeString(String) - Method in class json.serialize.JSONSerializer
Serializes a String object into JSON
serializeVoid(Void) - Method in class json.serialize.JSONSerializer
Serializes a Void object into JSON
serializeWrapper(String, Object, boolean) - Method in class json.serialize.JSONSerializer
A wrapper to serialize an object with it's name in JSON.
START_ARRAY - Static variable in class json.serialize.JSONSerializer
Constant String
START_OBJECT - Static variable in class json.serialize.JSONSerializer
Constant String
START_STRING - Static variable in class json.serialize.JSONSerializer
Constant String

V

vCounter - Variable in class json.serialize.JSONSerializer
Counter used for creating unique variable names for unnamed variables
Vehicle - Class in json.serialize.test.entity
An abstract vehicle class for demonstration.
Vehicle() - Constructor for class json.serialize.test.entity.Vehicle
 

A C E G I J L M N S V