Package eu.binjr.sources.netdata.api
Class ChartSummary.OsEnum.Adapter
java.lang.Object
com.google.gson.TypeAdapter<ChartSummary.OsEnum>
eu.binjr.sources.netdata.api.ChartSummary.OsEnum.Adapter
- Enclosing class:
ChartSummary.OsEnum
public static class ChartSummary.OsEnum.Adapter
extends com.google.gson.TypeAdapter<ChartSummary.OsEnum>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionread(com.google.gson.stream.JsonReader jsonReader) voidwrite(com.google.gson.stream.JsonWriter jsonWriter, ChartSummary.OsEnum 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, ChartSummary.OsEnum enumeration) throws IOException - Specified by:
writein classcom.google.gson.TypeAdapter<ChartSummary.OsEnum>- Throws:
IOException
-
read
- Specified by:
readin classcom.google.gson.TypeAdapter<ChartSummary.OsEnum>- Throws:
IOException
-