Class EdmNativeTypeSerializer

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

public class EdmNativeTypeSerializer extends Object
Deserializer for native EDM types from the service. Used for actions and functions that return native types for example.
  • Constructor Details

    • EdmNativeTypeSerializer

      public EdmNativeTypeSerializer()
  • Method Details

    • deserialize

      @Nullable public static <T> T deserialize(@Nonnull com.google.gson.JsonElement json, @Nonnull Class<T> type, @Nonnull ILogger logger)
      Deserializes native EDM types from the service. Used for actions and functions that return native types for example.
      Type Parameters:
      T - Expected return type.
      Parameters:
      json - json to deserialize.
      type - class of the expected return type.
      logger - logger to use.
      Returns:
      the deserialized type or null.