public class NamedFieldsDeserializer extends com.google.gson.TypeAdapter<NamedFields>
| Modifier and Type | Field and Description |
|---|---|
static Long |
INDEX_TIME_BOOST |
| Constructor and Description |
|---|
NamedFieldsDeserializer() |
| Modifier and Type | Method and Description |
|---|---|
NamedFields |
read(com.google.gson.stream.JsonReader in) |
NamedFieldsDeserializer |
setGson(com.google.gson.Gson gson) |
void |
write(com.google.gson.stream.JsonWriter out,
NamedFields value) |
public static final Long INDEX_TIME_BOOST
public void write(com.google.gson.stream.JsonWriter out,
NamedFields value)
throws IOException
write in class com.google.gson.TypeAdapter<NamedFields>IOExceptionpublic NamedFields read(com.google.gson.stream.JsonReader in) throws IOException
read in class com.google.gson.TypeAdapter<NamedFields>IOExceptionpublic NamedFieldsDeserializer setGson(com.google.gson.Gson gson)
gson - the Gson engine to setCopyright © 2013–2014 DuraSpace, Inc.. All rights reserved.