Class JsonFieldValuesSerialiser
- java.lang.Object
-
- com.caplin.motif.fx.ret.common.extension.customfield.JsonFieldValuesSerialiser
-
- All Implemented Interfaces:
CustomFieldValuesSerialiser
public class JsonFieldValuesSerialiser extends java.lang.Object implements CustomFieldValuesSerialiser
ACustomFieldValuesSerialiser
that serialises betweenCustomFieldValues
and JSON strings.
-
-
Constructor Summary
Constructors Constructor Description JsonFieldValuesSerialiser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CustomFieldValues
deserialise(java.lang.String serialisedCustomFieldValues)
Deserialises aString
to createCustomFieldValues
.java.lang.String
serialise(CustomFieldValues customFieldValues)
Serialises theCustomFieldValues
to aString
.
-
-
-
Method Detail
-
serialise
public java.lang.String serialise(CustomFieldValues customFieldValues)
Description copied from interface:CustomFieldValuesSerialiser
Serialises theCustomFieldValues
to aString
.- Specified by:
serialise
in interfaceCustomFieldValuesSerialiser
-
deserialise
public CustomFieldValues deserialise(java.lang.String serialisedCustomFieldValues)
Description copied from interface:CustomFieldValuesSerialiser
Deserialises aString
to createCustomFieldValues
.- Specified by:
deserialise
in interfaceCustomFieldValuesSerialiser
-
-