public class JsonAnnotationAdapter extends Object implements com.google.gson.JsonSerializer<Annotation>, com.google.gson.JsonDeserializer<Annotation>
| Constructor and Description |
|---|
JsonAnnotationAdapter(ClassLoader refLoader) |
| Modifier and Type | Method and Description |
|---|---|
Annotation |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
com.google.gson.JsonElement |
serialize(Annotation src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public JsonAnnotationAdapter(ClassLoader refLoader)
public com.google.gson.JsonElement serialize(Annotation src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<Annotation>public Annotation deserialize(com.google.gson.JsonElement json, Type typeOfT, com.google.gson.JsonDeserializationContext context) throws com.google.gson.JsonParseException
deserialize in interface com.google.gson.JsonDeserializer<Annotation>com.google.gson.JsonParseExceptionCopyright © 2011-2013 Carrot Search s.c.. All Rights Reserved.