| Package | Description |
|---|---|
| com.azure.core.util.serializer |
Package containing interfaces describing serialization and deserialization contract.
|
| Modifier and Type | Method and Description |
|---|---|
static SerializerEncoding |
SerializerEncoding.fromHeaders(HttpHeaders headers)
Determines the serializer encoding to use based on the Content-Type header.
|
static SerializerEncoding |
SerializerEncoding.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SerializerEncoding[] |
SerializerEncoding.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
<T> T |
JacksonAdapter.deserialize(String value,
Type type,
SerializerEncoding encoding) |
<U> U |
SerializerAdapter.deserialize(String value,
Type type,
SerializerEncoding encoding)
Deserializes a string into a
U object. |
String |
SerializerAdapter.serialize(Object object,
SerializerEncoding encoding)
Serializes an object into a string.
|
String |
JacksonAdapter.serialize(Object object,
SerializerEncoding encoding) |
Copyright © 2020 Microsoft Corporation. All rights reserved.