- All Implemented Interfaces:
com.google.gson.JsonSerializer<Property>
public class PropertySerializer
extends Object
implements com.google.gson.JsonSerializer<Property>
-
Constructor Summary
Constructors
-
Method Summary
com.google.gson.JsonElement
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
PropertySerializer
public PropertySerializer()
-
Method Details
-
serialize
public com.google.gson.JsonElement serialize(Property src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context)
- Specified by:
serialize
in interface com.google.gson.JsonSerializer<Property>
- Parameters:
src
-
typeOfSrc
-
context
-
- Returns:
- JsonElement