Package com.openai.core
Class JsonNumber
-
- All Implemented Interfaces:
public final class JsonNumber extends JsonValue
A JsonValue representing a JSON number value.
-
-
Method Summary
Modifier and Type Method Description final Number
value()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static JsonNumber
of(Number value)
Returns a JsonNumber containing the given value. -
Methods inherited from class com.openai.core.JsonValue
accept, convert, convert
-
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
-
-