Visitor

public interface Visitor<T extends Object>

An interface that defines how to map each variant of Result to a value of type T.

Functions

Link copied to clipboard
public T unknown(JsonValue json)

Maps an unknown variant of Result to a value of type T.

Link copied to clipboard
public abstract T visitJsonValue(JsonValue jsonValue)
Link copied to clipboard
public abstract T visitString(String string)