CollectionResponseDeserializer Class

  • java.lang.Object
    • com.microsoft.graph.serializer.CollectionResponseDeserializer

public class CollectionResponseDeserializer

Specialized de-serializer to handle collection responses

Method Summary

Modifier and Type Method and Description
static BaseCollectionResponse<T1> deserialize(JsonElement json, Type typeOfT, ILogger logger)

Deserializes the JsonElement

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Method Details

deserialize

public static BaseCollectionResponse deserialize(JsonElement json, Type typeOfT, ILogger logger)

Deserializes the JsonElement

Parameters:

json - the source CollectionResponse's Json
typeOfT - The type of the CollectionResponse to deserialize to
logger - the logger

Returns:

the deserialized CollectionResponse

Throws:

com.google.gson.JsonParseException - the parse exception

Applies to