Package deltix.qsrv.hf.tickdb.tool.gson
Class CharSequenceTypeAdapter
- java.lang.Object
-
- deltix.qsrv.hf.tickdb.tool.gson.CharSequenceTypeAdapter
-
- All Implemented Interfaces:
com.google.gson.JsonDeserializer<java.lang.CharSequence>
,com.google.gson.JsonSerializer<java.lang.CharSequence>
public class CharSequenceTypeAdapter extends java.lang.Object implements com.google.gson.JsonDeserializer<java.lang.CharSequence>, com.google.gson.JsonSerializer<java.lang.CharSequence>
-
-
Constructor Summary
Constructors Constructor Description CharSequenceTypeAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.CharSequence
deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)
com.google.gson.JsonElement
serialize(java.lang.CharSequence src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
-
-
Method Detail
-
deserialize
public java.lang.CharSequence deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
- Specified by:
deserialize
in interfacecom.google.gson.JsonDeserializer<java.lang.CharSequence>
- Throws:
com.google.gson.JsonParseException
-
serialize
public com.google.gson.JsonElement serialize(java.lang.CharSequence src, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<java.lang.CharSequence>
-
-