public static interface JSON.Convertible
Externalizable
interface is used to allow classes to
provide their own serialization mechanism.
A JSON.Convertible object may be written to a JSONObject or initialized from a Map of field names to values.
If the JSON is to be convertible back to an Object, then the method
JSON.Output.addClass(Class)
must be called from within toJSON()
Modifier and Type | Method and Description |
---|---|
void |
fromJSON(Map object) |
void |
toJSON(JSON.Output out) |
void toJSON(JSON.Output out)
void fromJSON(Map object)
Copyright © 1995-2015 Webtide. All Rights Reserved.