com.atlassian.plugins.osgi.test.rest
Class AnnotationTypeAdapter
java.lang.Object
com.atlassian.plugins.osgi.test.rest.AnnotationTypeAdapter
- All Implemented Interfaces:
- com.google.gson.JsonSerializer<Annotation>
public class AnnotationTypeAdapter
- extends Object
- implements com.google.gson.JsonSerializer<Annotation>
- Since:
- version
|
Method Summary |
com.google.gson.JsonElement |
serialize(Annotation annotation,
Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationTypeAdapter
public AnnotationTypeAdapter()
serialize
public com.google.gson.JsonElement serialize(Annotation annotation,
Type type,
com.google.gson.JsonSerializationContext jsonSerializationContext)
- Specified by:
serialize in interface com.google.gson.JsonSerializer<Annotation>
Copyright © 2014 Atlassian. All rights reserved.