public class ResultGSONAdapter extends Object implements com.google.gson.JsonSerializer<Result>, com.google.gson.JsonDeserializer<Result>
| Constructor and Description |
|---|
ResultGSONAdapter(Value<String> propertyView,
PropertyKey idProperty,
int outputNestingDepth) |
| Modifier and Type | Method and Description |
|---|---|
Result |
deserialize(com.google.gson.JsonElement json,
Type typeOfT,
com.google.gson.JsonDeserializationContext context) |
GraphObjectGSONAdapter |
getGraphObjectGSONAdapter() |
com.google.gson.JsonElement |
serialize(Result src,
Type typeOfSrc,
com.google.gson.JsonSerializationContext context) |
public ResultGSONAdapter(Value<String> propertyView, PropertyKey idProperty, int outputNestingDepth)
public com.google.gson.JsonElement serialize(Result src, Type typeOfSrc, com.google.gson.JsonSerializationContext context)
serialize in interface com.google.gson.JsonSerializer<Result>public Result 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<Result>com.google.gson.JsonParseExceptionpublic GraphObjectGSONAdapter getGraphObjectGSONAdapter()
Copyright © 2014. All rights reserved.