Package com.microsoft.graph.serializer
Class EdmNativeTypeSerializer
java.lang.Object
com.microsoft.graph.serializer.EdmNativeTypeSerializer
Deserializer for native EDM types from the service. Used for actions and functions that return native types for example.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> Tdeserialize(com.google.gson.JsonElement json, Class<T> type, ILogger logger) Deserializes native EDM types from the service.
-
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.
-