Package | Description |
---|---|
com.sdicons.json.serializer |
Serializing Java instances to JSON domain objects together with all
type info and structure so that we can restore the Java model in its
original form.
|
com.sdicons.json.serializer.helper |
All specialized serializers that know how to serialize the instances for
specific classes.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SerializerValueImpl.getBoolean() |
boolean |
SerializerValue.getBoolean()
Get the primitive boolean value.
|
byte |
SerializerValueImpl.getByte() |
byte |
SerializerValue.getByte()
Get the primitive byte value.
|
char |
SerializerValueImpl.getChar() |
char |
SerializerValue.getChar()
Get the primitive char value.
|
double |
SerializerValueImpl.getDouble() |
double |
SerializerValue.getDouble()
Get the primitive double value.
|
float |
SerializerValueImpl.getFloat() |
float |
SerializerValue.getFloat()
Get the primitive float value.
|
int |
SerializerValueImpl.getInt() |
int |
SerializerValue.getInt()
Get the primitive int value.
|
long |
SerializerValueImpl.getLong() |
long |
SerializerValue.getLong()
Get the primitive long value.
|
Object |
SerializerValueImpl.getReference() |
Object |
SerializerValue.getReference()
Get the reference to a Java object.
|
short |
SerializerValueImpl.getShort() |
short |
SerializerValue.getShort()
Get the primitive short value.
|
JSONObject |
JSONSerializer.marshal(Object aObj)
Convert a Java object to JSON.
|
JSONObject |
JSONSerializer.marshalImpl(Object aObj,
HashMap<Object,Object> aPool) |
static void |
JSONSerializer.requireStringAttribute(JSONObject aElement,
String anAttribute) |
SerializerValue |
JSONSerializer.unmarshal(JSONObject aElement)
Convert a JSON representation to the Java primitive or reference.
|
Object |
JSONSerializer.unmarshalImpl(JSONObject aElement,
HashMap<Object,Object> aObjectPool) |
Modifier and Type | Method and Description |
---|---|
protected com.sdicons.json.serializer.helper.ObjectSerializerFields.AnnotatedMethods |
ObjectSerializerFields.getAnnotatedMethods(Class<?> aClass) |
Object |
StringSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
ShortSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
ObjectSerializerProps.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
ObjectSerializerMeta.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
ObjectSerializerFields.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
MapSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
LongSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
IntegerSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
FontSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
FloatSerializer.toJava(JSONObject aObjectValue,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
EnumSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
DoubleSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
DateSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
ColorSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
CollectionSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
ClassSerializer.toJava(JSONObject jsonObj,
JSONSerializer serializer,
HashMap<Object,Object> aPool)
Convert JSON representation into an instance of a class.
|
Object |
CharacterSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
ByteSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
BooleanSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
BigIntegerSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
BigDecimalSerializer.toJava(JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Object |
ArraySerializer.toJava(JSONObject jsonObject,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
void |
ObjectSerializerProps.toJSON(Object aObj,
JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
void |
ObjectSerializerMeta.toJSON(Object aObj,
JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
void |
ObjectSerializerFields.toJSON(Object aObj,
JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
void |
MapSerializer.toJSON(Object aObj,
JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
void |
FontSerializer.toJSON(Object aObj,
JSONObject aParent,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
void |
DateSerializer.toJSON(Object aObj,
JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
void |
ColorSerializer.toJSON(Object aObj,
JSONObject aParent,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
void |
CollectionSerializer.toJSON(Object aObj,
JSONObject aObjectElement,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
void |
ClassSerializer.toJSON(Object javaObj,
JSONObject jsonContainer,
JSONSerializer serializer,
HashMap<Object,Object> aPool)
Convert an element to JSON.
|
void |
ArraySerializer.toJSON(Object javaArray,
JSONObject jsonContainer,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
void |
AbstractSerializer.toJSON(Object javaObj,
JSONObject jsonContainer,
JSONSerializer serializer,
HashMap<Object,Object> aPool) |
Copyright © 2012. All Rights Reserved.