Share via


WriteValueCallback<T,U> Interface

Type Parameters

T

First type of the callback.

U

Second type of the callback.

public interface WriteValueCallback<T,U>

A callback used when writing a JSON value, such as JsonWriter#writeArray(Object[], WriteValueCallback).

Method Summary

Modifier and Type Method and Description
abstract void write(T input1, U input2)

Applies the write callback to input1 and input2.

Method Details

write

public abstract void write(T input1, U input2)

Applies the write callback to input1 and input2.

Parameters:

input1 - First type of the callback.
input2 - Second type of the callback.

Throws:

IOException

- If an I/O error occurs during the callback.

Applies to