| Package | Description |
|---|---|
| com.azure.core.util |
Package containing core utility classes.
|
| com.azure.core.util.serializer |
Package containing interfaces describing serialization and deserialization contract.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
BinaryData.toObject(TypeReference<T> typeReference)
Deserialize the bytes into the
Object of given type by using json serializer which is available in
classpath. |
<T> T |
BinaryData.toObject(TypeReference<T> typeReference,
ObjectSerializer serializer)
Deserialize the bytes into the
Object of given type by applying the provided ObjectSerializer on
the data. |
<T> Mono<T> |
BinaryData.toObjectAsync(TypeReference<T> typeReference)
|
<T> Mono<T> |
BinaryData.toObjectAsync(TypeReference<T> typeReference,
ObjectSerializer serializer)
Return a
Mono by deserializing the bytes into the Object of given type after applying the
provided ObjectSerializer on the BinaryData. |
| Modifier and Type | Method and Description |
|---|---|
static <T> TypeReference<T> |
TypeReference.createInstance(Class<T> clazz)
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
JsonSerializer.deserialize(InputStream stream,
TypeReference<T> typeReference)
Reads a JSON stream into its object representation.
|
<T> T |
ObjectSerializer.deserialize(InputStream stream,
TypeReference<T> typeReference)
Reads a stream into its object representation.
|
<T> Mono<T> |
JsonSerializer.deserializeAsync(InputStream stream,
TypeReference<T> typeReference)
Reads a JSON stream into its object representation.
|
<T> Mono<T> |
ObjectSerializer.deserializeAsync(InputStream stream,
TypeReference<T> typeReference)
Reads a stream into its object representation.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.