Package com.openai.core
Class JsonValue
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
JsonValue.Visitor
public final class
JsonValue.Deserializer
-
Method Summary
Modifier and Type Method Description final <R extends Any> R
convert(TypeReference<R> type)
final <R extends Any> R
convert(Class<R> type)
final <R extends Any> R
accept(JsonValue.Visitor<R> visitor)
final static JsonValue
from(Object value)
final static JsonValue
fromJsonNode(JsonNode node)
-
Methods inherited from class com.openai.core.JsonField
accept, asArray, asBoolean, asKnown, asNumber, asObject, asString, asStringOrThrow, asUnknown, isMissing, isNull
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
accept
final <R extends Any> R accept(JsonValue.Visitor<R> visitor)
-
fromJsonNode
final static JsonValue fromJsonNode(JsonNode node)
-
-
-
-