azure-docs-sdk-java/docs-ref-autogen/com.azure.json.ReadValueCal...

38 строки
1.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.json.ReadValueCallback"
fullName: "com.azure.json.ReadValueCallback<T,R>"
name: "ReadValueCallback<T,R>"
nameWithType: "ReadValueCallback<T,R>"
summary: "A callback used when reading a JSON value, such as <xref uid=\"com.azure.json.JsonReader.<T>readArray(com.azure.json.ReadValueCallback<com.azure.json.JsonReader,T>)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonReader#readArray(ReadValueCallback)\"></xref>."
syntax: "public interface **ReadValueCallback<T,R>**"
methods:
- uid: "com.azure.json.ReadValueCallback.read(T)"
fullName: "com.azure.json.ReadValueCallback<T,R>.read(T input)"
name: "read(T input)"
nameWithType: "ReadValueCallback<T,R>.read(T input)"
summary: "Applies the read callback to the `input`."
modifiers:
- "abstract"
parameters:
- description: "Input to the callback."
name: "input"
type: "<xref href=\"T?alt=T&text=T\" data-throw-if-not-resolved=\"False\" />"
syntax: "public abstract R read(T input)"
exceptions:
- description: "If an I/O error occurs during the callback."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Applies the read callback to the `input`."
returns:
description: "The output of the callback."
type: "<xref href=\"R?alt=R&text=R\" data-throw-if-not-resolved=\"False\" />"
type: "interface"
typeParameters:
- description: "Input type of the callback."
name: "T"
- description: "Output type of the callback."
name: "R"
desc: "A callback used when reading a JSON value, such as <xref uid=\"com.azure.json.JsonReader.<T>readArray(com.azure.json.ReadValueCallback<com.azure.json.JsonReader,T>)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"JsonReader#readArray(ReadValueCallback)\"></xref>."
metadata: {}
package: "com.azure.json"
artifact: com.azure:azure-json:1.3.0