public class JsonWrapperGsonSerializer extends Object implements com.google.gson.JsonSerializer<JsonWrapper>, com.google.gson.JsonDeserializer<JsonWrapper>
Constructor and Description |
---|
JsonWrapperGsonSerializer() |
Modifier and Type | Method and Description |
---|---|
JsonWrapper |
deserialize(com.google.gson.JsonElement jsonElement,
Type type,
com.google.gson.JsonDeserializationContext jsonDeserializationContext) |
com.google.gson.JsonElement |
serialize(JsonWrapper jsonWrapper,
Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext) |
public com.google.gson.JsonElement serialize(JsonWrapper jsonWrapper, Type type, com.google.gson.JsonSerializationContext jsonSerializationContext)
serialize
in interface com.google.gson.JsonSerializer<JsonWrapper>
public JsonWrapper deserialize(com.google.gson.JsonElement jsonElement, Type type, com.google.gson.JsonDeserializationContext jsonDeserializationContext) throws com.google.gson.JsonParseException
deserialize
in interface com.google.gson.JsonDeserializer<JsonWrapper>
com.google.gson.JsonParseException
Copyright © 2022. All rights reserved.