Package com.vaadin.client.communication
Class URLReference_Serializer
- java.lang.Object
-
- com.vaadin.client.communication.URLReference_Serializer
-
- All Implemented Interfaces:
JSONSerializer<URLReference>
public class URLReference_Serializer extends Object implements JSONSerializer<URLReference>
-
-
Constructor Summary
Constructors Constructor Description URLReference_Serializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description URLReferencedeserialize(Type type, elemental.json.JsonValue jsonValue, ApplicationConnection connection)Creates and deserializes an object received from the server.elemental.json.JsonValueserialize(URLReference value, ApplicationConnection connection)Serialize the given object into JSON.
-
-
-
Method Detail
-
deserialize
public URLReference deserialize(Type type, elemental.json.JsonValue jsonValue, ApplicationConnection connection)
Description copied from interface:JSONSerializerCreates and deserializes an object received from the server. Must be compatible withJSONSerializer.serialize(Object, ApplicationConnection)and also with the server side JsonCodec.encode method.- Specified by:
deserializein interfaceJSONSerializer<URLReference>- Parameters:
type- the type to deserializejsonValue- JSON map from property name to property valueconnection- the application connection providing the context- Returns:
- A deserialized object
-
serialize
public elemental.json.JsonValue serialize(URLReference value, ApplicationConnection connection)
Description copied from interface:JSONSerializerSerialize the given object into JSON. Must be compatible withJSONSerializer.deserialize(Type, JsonValue, ApplicationConnection)and also with the server side JsonCodec.decodeCustomType method.- Specified by:
serializein interfaceJSONSerializer<URLReference>- Parameters:
value- The object to serializeconnection- the application connection providing the context- Returns:
- A JSON serialized version of the object
-
-