184 строки
14 KiB
YAML
184 строки
14 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.core.serializer.json.jackson.JacksonAdapter"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter"
|
|
name: "JacksonAdapter"
|
|
nameWithType: "JacksonAdapter"
|
|
summary: "Implementation of <xref uid=\"com.azure.core.util.serializer.SerializerAdapter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SerializerAdapter\"></xref> that uses Jackson."
|
|
inheritances:
|
|
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
|
|
inheritedClassMethods:
|
|
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
methodsRef:
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
|
|
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
|
|
syntax: "public final class **JacksonAdapter**</br> implements <xref href=\"com.azure.core.util.serializer.SerializerAdapter?alt=com.azure.core.util.serializer.SerializerAdapter&text=SerializerAdapter\" data-throw-if-not-resolved=\"False\" />"
|
|
methods:
|
|
- uid: "com.azure.core.serializer.json.jackson.JacksonAdapter.<T>deserialize(byte[],java.lang.reflect.Type,com.azure.core.util.serializer.SerializerEncoding)"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter.deserialize(byte[] bytes, Type type, SerializerEncoding encoding)"
|
|
name: "deserialize(byte[] bytes, Type type, SerializerEncoding encoding)"
|
|
nameWithType: "JacksonAdapter.deserialize(byte[] bytes, Type type, SerializerEncoding encoding)"
|
|
parameters:
|
|
- name: "bytes"
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
- name: "type"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html\">Type</a>"
|
|
- name: "encoding"
|
|
type: "<xref href=\"com.azure.core.util.serializer.SerializerEncoding?alt=com.azure.core.util.serializer.SerializerEncoding&text=SerializerEncoding\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public T <T>deserialize(byte[] bytes, Type type, SerializerEncoding encoding)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.serializer.json.jackson.JacksonAdapter.<T>deserialize(com.azure.core.http.HttpHeaders,java.lang.reflect.Type)"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter.deserialize(HttpHeaders headers, Type deserializedHeadersType)"
|
|
name: "deserialize(HttpHeaders headers, Type deserializedHeadersType)"
|
|
nameWithType: "JacksonAdapter.deserialize(HttpHeaders headers, Type deserializedHeadersType)"
|
|
parameters:
|
|
- name: "headers"
|
|
type: "<xref href=\"com.azure.core.http.HttpHeaders?alt=com.azure.core.http.HttpHeaders&text=HttpHeaders\" data-throw-if-not-resolved=\"False\" />"
|
|
- name: "deserializedHeadersType"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html\">Type</a>"
|
|
syntax: "public T <T>deserialize(HttpHeaders headers, Type deserializedHeadersType)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.serializer.json.jackson.JacksonAdapter.<T>deserialize(java.io.InputStream,java.lang.reflect.Type,com.azure.core.util.serializer.SerializerEncoding)"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter.deserialize(InputStream inputStream, Type type, SerializerEncoding encoding)"
|
|
name: "deserialize(InputStream inputStream, Type type, SerializerEncoding encoding)"
|
|
nameWithType: "JacksonAdapter.deserialize(InputStream inputStream, Type type, SerializerEncoding encoding)"
|
|
parameters:
|
|
- name: "inputStream"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/InputStream.html\">InputStream</a>"
|
|
- name: "type"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html\">Type</a>"
|
|
- name: "encoding"
|
|
type: "<xref href=\"com.azure.core.util.serializer.SerializerEncoding?alt=com.azure.core.util.serializer.SerializerEncoding&text=SerializerEncoding\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public T <T>deserialize(InputStream inputStream, Type type, SerializerEncoding encoding)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.serializer.json.jackson.JacksonAdapter.<T>deserialize(java.lang.String,java.lang.reflect.Type,com.azure.core.util.serializer.SerializerEncoding)"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter.deserialize(String value, Type type, SerializerEncoding encoding)"
|
|
name: "deserialize(String value, Type type, SerializerEncoding encoding)"
|
|
nameWithType: "JacksonAdapter.deserialize(String value, Type type, SerializerEncoding encoding)"
|
|
parameters:
|
|
- name: "value"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- name: "type"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html\">Type</a>"
|
|
- name: "encoding"
|
|
type: "<xref href=\"com.azure.core.util.serializer.SerializerEncoding?alt=com.azure.core.util.serializer.SerializerEncoding&text=SerializerEncoding\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public T <T>deserialize(String value, Type type, SerializerEncoding encoding)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.serializer.json.jackson.JacksonAdapter.<T>deserializeHeader(com.azure.core.util.Header,java.lang.reflect.Type)"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter.deserializeHeader(Header header, Type type)"
|
|
name: "deserializeHeader(Header header, Type type)"
|
|
nameWithType: "JacksonAdapter.deserializeHeader(Header header, Type type)"
|
|
parameters:
|
|
- name: "header"
|
|
type: "<xref href=\"com.azure.core.util.Header?alt=com.azure.core.util.Header&text=Header\" data-throw-if-not-resolved=\"False\" />"
|
|
- name: "type"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/reflect/Type.html\">Type</a>"
|
|
syntax: "public T <T>deserializeHeader(Header header, Type type)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.serializer.json.jackson.JacksonAdapter.defaultSerializerAdapter()"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter.defaultSerializerAdapter()"
|
|
name: "defaultSerializerAdapter()"
|
|
nameWithType: "JacksonAdapter.defaultSerializerAdapter()"
|
|
summary: "maintain singleton instance of the default serializer adapter."
|
|
modifiers:
|
|
- "static"
|
|
syntax: "public static SerializerAdapter defaultSerializerAdapter()"
|
|
desc: "maintain singleton instance of the default serializer adapter."
|
|
returns:
|
|
description: "the default serializer"
|
|
type: "<xref href=\"com.azure.core.util.serializer.SerializerAdapter?alt=com.azure.core.util.serializer.SerializerAdapter&text=SerializerAdapter\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.core.serializer.json.jackson.JacksonAdapter.serialize(java.lang.Object,com.azure.core.util.serializer.SerializerEncoding)"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter.serialize(Object object, SerializerEncoding encoding)"
|
|
name: "serialize(Object object, SerializerEncoding encoding)"
|
|
nameWithType: "JacksonAdapter.serialize(Object object, SerializerEncoding encoding)"
|
|
parameters:
|
|
- name: "object"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
- name: "encoding"
|
|
type: "<xref href=\"com.azure.core.util.serializer.SerializerEncoding?alt=com.azure.core.util.serializer.SerializerEncoding&text=SerializerEncoding\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public String serialize(Object object, SerializerEncoding encoding)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.core.serializer.json.jackson.JacksonAdapter.serialize(java.lang.Object,com.azure.core.util.serializer.SerializerEncoding,java.io.OutputStream)"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter.serialize(Object object, SerializerEncoding encoding, OutputStream outputStream)"
|
|
name: "serialize(Object object, SerializerEncoding encoding, OutputStream outputStream)"
|
|
nameWithType: "JacksonAdapter.serialize(Object object, SerializerEncoding encoding, OutputStream outputStream)"
|
|
parameters:
|
|
- name: "object"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
- name: "encoding"
|
|
type: "<xref href=\"com.azure.core.util.serializer.SerializerEncoding?alt=com.azure.core.util.serializer.SerializerEncoding&text=SerializerEncoding\" data-throw-if-not-resolved=\"False\" />"
|
|
- name: "outputStream"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/OutputStream.html\">OutputStream</a>"
|
|
syntax: "public void serialize(Object object, SerializerEncoding encoding, OutputStream outputStream)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
- uid: "com.azure.core.serializer.json.jackson.JacksonAdapter.serializeList(java.util.List<?>,com.azure.core.util.serializer.CollectionFormat)"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter.serializeList(List<?> list, CollectionFormat format)"
|
|
name: "serializeList(List<?> list, CollectionFormat format)"
|
|
nameWithType: "JacksonAdapter.serializeList(List<?> list, CollectionFormat format)"
|
|
parameters:
|
|
- name: "list"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a><?>"
|
|
- name: "format"
|
|
type: "<xref href=\"com.azure.core.util.serializer.CollectionFormat?alt=com.azure.core.util.serializer.CollectionFormat&text=CollectionFormat\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public String serializeList(List<?> list, CollectionFormat format)"
|
|
returns:
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.core.serializer.json.jackson.JacksonAdapter.serializeRaw(java.lang.Object)"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter.serializeRaw(Object object)"
|
|
name: "serializeRaw(Object object)"
|
|
nameWithType: "JacksonAdapter.serializeRaw(Object object)"
|
|
parameters:
|
|
- name: "object"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
syntax: "public String serializeRaw(Object object)"
|
|
returns:
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.core.serializer.json.jackson.JacksonAdapter.serializeToBytes(java.lang.Object,com.azure.core.util.serializer.SerializerEncoding)"
|
|
fullName: "com.azure.core.serializer.json.jackson.JacksonAdapter.serializeToBytes(Object object, SerializerEncoding encoding)"
|
|
name: "serializeToBytes(Object object, SerializerEncoding encoding)"
|
|
nameWithType: "JacksonAdapter.serializeToBytes(Object object, SerializerEncoding encoding)"
|
|
parameters:
|
|
- name: "object"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
|
|
- name: "encoding"
|
|
type: "<xref href=\"com.azure.core.util.serializer.SerializerEncoding?alt=com.azure.core.util.serializer.SerializerEncoding&text=SerializerEncoding\" data-throw-if-not-resolved=\"False\" />"
|
|
syntax: "public byte[] serializeToBytes(Object object, SerializerEncoding encoding)"
|
|
exceptions:
|
|
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
|
|
returns:
|
|
type: "<xref href=\"byte?alt=byte&text=byte\" data-throw-if-not-resolved=\"False\" />[]"
|
|
type: "class"
|
|
desc: "Implementation of <xref uid=\"com.azure.core.util.serializer.SerializerAdapter\" data-throw-if-not-resolved=\"false\" data-raw-source=\"SerializerAdapter\"></xref> that uses Jackson.\n\nThis is similar to `JacksonAdapter` found in the `com.azure:azure-core` package and will serve as the long term replacement plan for the `JacksonAdapter` found in `com.azure:azure-core`."
|
|
implements:
|
|
- "<xref href=\"com.azure.core.util.serializer.SerializerAdapter?alt=com.azure.core.util.serializer.SerializerAdapter&text=SerializerAdapter\" data-throw-if-not-resolved=\"False\" />"
|
|
metadata: {}
|
|
package: "com.azure.core.serializer.json.jackson"
|
|
artifact: com.azure:azure-core-serializer-json-jackson:1.5.1
|