Class CityJSONAdapter
- java.lang.Object
-
- org.citygml4j.binding.cityjson.feature.CityJSONAdapter
-
-
Constructor Summary
Constructors Constructor Description CityJSONAdapter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CityJSON
deserialize(com.google.gson.JsonElement json, java.lang.reflect.Type typeOfT, com.google.gson.JsonDeserializationContext context)
com.google.gson.JsonElement
serialize(CityJSON cityJSON, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
-
-
-
Method Detail
-
serialize
public com.google.gson.JsonElement serialize(CityJSON cityJSON, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
- Specified by:
serialize
in interfacecom.google.gson.JsonSerializer<CityJSON>
-
deserialize
public CityJSON 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<CityJSON>
- Throws:
com.google.gson.JsonParseException
-
-