
Public Member Functions | |
| boolean | canSerialize (Class clazz, Class jsonClazz) |
| Class[] | getJSONClasses () |
| Class[] | getSerializableClasses () |
| Object | marshall (SerializerState state, Object p, Object o) throws MarshallException |
| ObjectMatch | tryUnmarshall (SerializerState state, Class clazz, Object o) throws UnmarshallException |
| Object | unmarshall (SerializerState state, Class clazz, Object o) throws UnmarshallException |
Static Private Attributes | |
| static Class[] | _JSONClasses = new Class[] { JSONObject.class } |
| static Class[] | _serializableClasses = new Class[] { NSArray.class, NSMutableArray.class, _EOCheapCopyArray.class, _EOCheapCopyMutableArray.class } |
| static final long | serialVersionUID = 2 |
TODO: if this serialises a superclass does it need to also specify the subclasses?
| boolean canSerialize | ( | Class | clazz, | |
| Class | jsonClazz | |||
| ) |
| Class [] getJSONClasses | ( | ) |
| Class [] getSerializableClasses | ( | ) |
| Object marshall | ( | SerializerState | state, | |
| Object | p, | |||
| Object | o | |||
| ) | throws MarshallException |
| ObjectMatch tryUnmarshall | ( | SerializerState | state, | |
| Class | clazz, | |||
| Object | o | |||
| ) | throws UnmarshallException |
| Object unmarshall | ( | SerializerState | state, | |
| Class | clazz, | |||
| Object | o | |||
| ) | throws UnmarshallException |
Class [] _JSONClasses = new Class[] { JSONObject.class } [static, private] |
Classes that this can serialise to.
Class [] _serializableClasses = new Class[] { NSArray.class, NSMutableArray.class, _EOCheapCopyArray.class, _EOCheapCopyMutableArray.class } [static, private] |
Classes that this can serialise.
final long serialVersionUID = 2 [static, private] |
Unique serialisation id.
1.5.8