public static class FacetCollection.FacetAdapter extends com.google.gson.TypeAdapter<FacetCollection>
TypeAdapter for FacetCollection. It is used to
serialize and deserialize FacetCollection objects.| Constructor and Description |
|---|
FacetAdapter() |
| Modifier and Type | Method and Description |
|---|---|
FacetCollection |
read(com.google.gson.stream.JsonReader in)
Deserializes a JSON string into a
FacetCollection object. |
void |
write(com.google.gson.stream.JsonWriter out,
FacetCollection value)
Serializes a
FacetCollection object into a JSON string. |
public void write(com.google.gson.stream.JsonWriter out,
FacetCollection value)
throws IOException
FacetCollection object into a JSON string.write in class com.google.gson.TypeAdapter<FacetCollection>IOExceptionpublic FacetCollection read(com.google.gson.stream.JsonReader in) throws IOException
FacetCollection object.read in class com.google.gson.TypeAdapter<FacetCollection>IOExceptionCopyright © 2026. All rights reserved.