Attribute.AttributeSerializer

public static class AttributeSerializer implements JsonSerializer<Attribute>, JsonDeserializer<Attribute>

Implementation of the JsonSerializer and JsonDeserializer interfaces for the Attribute class.

Methods

deserialize

public Attribute deserialize(JsonElement json, Type typeOfT, JsonDeserializationContext context)

serialize

public JsonElement serialize(Attribute src, Type typeOfSrc, JsonSerializationContext context)