Class CollectionResponseDeserializer

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

public class CollectionResponseDeserializer extends Object
Specialized de-serializer to handle collection responses
  • Method Details

    • deserialize

      @Nullable public static <T1> BaseCollectionResponse<T1> deserialize(@Nonnull com.google.gson.JsonElement json, @Nonnull Type typeOfT, @Nonnull ILogger logger) throws com.google.gson.JsonParseException
      Deserializes the JsonElement
      Type Parameters:
      T1 - the entity type for the collection
      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