Package com.openai.core
Interface JsonField.Visitor
-
- All Implemented Interfaces:
-
com.openai.core.JsonValue.Visitor
public interface JsonField.Visitor<T extends Object, R extends Object> implements JsonValue.Visitor<R>
An interface that defines how to map each possible state of a
JsonField<T>
to a value of type R.
-
-
Method Summary
Modifier and Type Method Description R
visitKnown(T value)
-
Methods inherited from class com.openai.core.JsonValue.Visitor
visitArray, visitBoolean, visitDefault, visitMissing, visitNull, visitNumber, visitObject, visitString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
visitKnown
R visitKnown(T value)
-
-
-
-