Package com.azure.json
Interface ReadValueCallback<T,R>
- Type Parameters:
T
- Input type of the callback.R
- Output type of the callback.
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A callback used when reading a JSON value, such as
JsonReader.readArray(ReadValueCallback)
.- See Also:
-
Method Summary
-
Method Details
-
read
Applies the read callback to theinput
.- Parameters:
input
- Input to the callback.- Returns:
- The output of the callback.
- Throws:
IOException
- If an I/O error occurs during the callback.
-