public class ProjectNameKeySerializer
extends java.lang.Object
implements com.google.gson.JsonSerializer<com.google.gerrit.reviewdb.client.Project.NameKey>
Constructor and Description |
---|
ProjectNameKeySerializer() |
Modifier and Type | Method and Description |
---|---|
com.google.gson.JsonElement |
serialize(com.google.gerrit.reviewdb.client.Project.NameKey project,
java.lang.reflect.Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public com.google.gson.JsonElement serialize(com.google.gerrit.reviewdb.client.Project.NameKey project, java.lang.reflect.Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize
in interface com.google.gson.JsonSerializer<com.google.gerrit.reviewdb.client.Project.NameKey>