public class JSONSerializer extends XMLSerializer
Constructor and Description |
---|
JSONSerializer() |
JSONSerializer(JAXBContext context) |
JSONSerializer(java.lang.String packageName) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
deserialize(java.lang.Object json,
Session session) |
java.lang.Object |
serialize(java.lang.Object object,
Session session) |
java.lang.String |
toString() |
getType, initialize
public JSONSerializer()
public JSONSerializer(java.lang.String packageName)
public JSONSerializer(JAXBContext context)
public java.lang.Object serialize(java.lang.Object object, Session session)
serialize
in interface Serializer
serialize
in class XMLSerializer
public java.lang.Object deserialize(java.lang.Object json, Session session)
deserialize
in interface Serializer
deserialize
in class XMLSerializer
public java.lang.String toString()
toString
in class XMLSerializer