public class URLReference_Serializer extends Object implements JSONSerializer<URLReference>
| Constructor and Description |
|---|
URLReference_Serializer() |
| Modifier and Type | Method and Description |
|---|---|
URLReference |
deserialize(Type type,
JsonValue jsonValue,
ApplicationConnection connection)
Creates and deserializes an object received from the server.
|
JsonValue |
serialize(URLReference value,
ApplicationConnection connection)
Serialize the given object into JSON.
|
public URLReference deserialize(Type type, JsonValue jsonValue, ApplicationConnection connection)
JSONSerializerJSONSerializer.serialize(Object, ApplicationConnection) and
also with the server side JsonCodec.encode method.deserialize in interface JSONSerializer<URLReference>type - the type to deserializejsonValue - JSON map from property name to property valueconnection - the application connection providing the contextpublic JsonValue serialize(URLReference value, ApplicationConnection connection)
JSONSerializerJSONSerializer.deserialize(Type, JsonValue, ApplicationConnection) and also
with the server side JsonCodec.decodeCustomType method.serialize in interface JSONSerializer<URLReference>value - The object to serializeconnection - the application connection providing the contextCopyright © 2018 Vaadin Ltd. All rights reserved.