Package sh.ory.model
Class JsonPatch.OpEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<JsonPatch.OpEnum>
sh.ory.model.JsonPatch.OpEnum.Adapter
- Enclosing class:
- JsonPatch.OpEnum
public static class JsonPatch.OpEnum.Adapter extends com.google.gson.TypeAdapter<JsonPatch.OpEnum>
-
Constructor Summary
Constructors Constructor Description Adapter() -
Method Summary
Modifier and Type Method Description JsonPatch.OpEnumread(com.google.gson.stream.JsonReader jsonReader)voidwrite(com.google.gson.stream.JsonWriter jsonWriter, JsonPatch.OpEnum enumeration)Methods inherited from class com.google.gson.TypeAdapter
fromJson, fromJson, fromJsonTree, nullSafe, toJson, toJson, toJsonTree
-
Constructor Details
-
Adapter
public Adapter()
-
-
Method Details
-
write
public void write(com.google.gson.stream.JsonWriter jsonWriter, JsonPatch.OpEnum enumeration) throws IOException- Specified by:
writein classcom.google.gson.TypeAdapter<JsonPatch.OpEnum>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<JsonPatch.OpEnum>- Throws:
IOException
-