public class V8ValueBuiltInJson extends V8ValueObject
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FUNCTION_STRINGIFY
The constant FUNCTION_STRINGIFY.
|
static java.lang.String |
NAME
The constant NAME.
|
ERROR_THE_KEY_VALUE_PAIR_MUST_MATCH, FUNCTION_ADD, FUNCTION_DELETE, FUNCTION_GET, FUNCTION_HAS, FUNCTION_SET, METHOD_PREFIX_GET, METHOD_PREFIX_IS, METHOD_PREFIX_SET, PROPERTY_PROTOTYPE
handle, INVALID_HANDLE, weak
OBJECT_CONVERTER, v8Runtime
DEFAULT_BATCH_SIZE, MIN_BATCH_SIZE
Constructor and Description |
---|
V8ValueBuiltInJson(V8Runtime v8Runtime,
long handle)
Instantiates a new V8 value built-in JSON.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
stringify(V8Value v8Value)
Stringify string.
|
V8ValueBuiltInJson |
toClone()
Get a clone of the current V8 value.
|
batchGet, bind, bindFunction, bindProperty, delete, deletePrivateProperty, forEach, forEach, get, getBoolean, getDouble, getIdentityHash, getInteger, getLong, getOwnPropertyNames, getPrivateProperty, getProperty, getPropertyNames, getPrototype, getString, getType, has, hasInternalType, hasOwnProperty, hasPrivateProperty, invokeExtended, invokeExtended, isFrozen, isSealed, sameValue, set, set, setBoolean, setDouble, setInteger, setLong, setNull, setPrivateProperty, setProperty, setPrototype, setString, setUndefined, strictEquals, toJsonString, toProtoString, unbind, unbindFunction, unbindProperty, unbindProperty, unbindProperty, unbindProperty
addReference, checkV8Runtime, clearWeak, close, close, equals, getHandle, isClosed, isWeak, isWeak, removeReference, setWeak, toClone, toString
getV8Runtime
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
bindFunction, bindFunction, bindProperty, deleteNull, deleteUndefined, forEach, forEach, forEach, forEach, forEach, forEach, getBigInteger, getFloat, getNull, getObject, getOwnPropertyNameStrings, getPrivatePropertyBoolean, getPrivatePropertyDouble, getPrivatePropertyFloat, getPrivatePropertyInteger, getPrivatePropertyLong, getPrivatePropertyNull, getPrivatePropertyObject, getPrivatePropertyPrimitive, getPrivatePropertyString, getPrivatePropertyUndefined, getPrivatePropertyZonedDateTime, getPropertyBoolean, getPropertyDouble, getPropertyFloat, getPropertyInteger, getPropertyLong, getPropertyObject, getPropertyPrimitive, getPropertyString, getPropertyZonedDateTime, getUndefined, getZonedDateTime, hasNull, hasUndefined, invoke, invoke, invokeBigInteger, invokeBoolean, invokeDouble, invokeFloat, invokeInteger, invokeLong, invokeObject, invokeString, invokeVoid, invokeVoid, invokeZonedDateTime, isGeneratorObject, setPrivatePropertyNull, setPrivatePropertyUndefined, setPropertyNull, setPropertyUndefined, unbindFunction, unbindFunction, unbindFunction, unbindProperty
clearWeak, close, getHandle, isClosed, isWeak, isWeak, setWeak
asBoolean, asDouble, asInt, asLong, asString, equals, getV8Runtime, isNull, isNullOrUndefined, isUndefined
close
toClone
public static final java.lang.String FUNCTION_STRINGIFY
public static final java.lang.String NAME
public V8ValueBuiltInJson(V8Runtime v8Runtime, long handle) throws JavetException
v8Runtime
- the V8 runtimehandle
- the handleJavetException
- the javet exceptionpublic java.lang.String stringify(V8Value v8Value) throws JavetException
v8Value
- the V8 valueJavetException
- the javet exceptionpublic V8ValueBuiltInJson toClone() throws JavetException
IV8Cloneable
JavetException
- the javet exception