| Interface | Description |
|---|---|
| IV8Value |
The interface V8 value.
|
| IV8ValueNonProxyable |
The interface V8 value non-proxyable is for the types that do not support proxy.
|
| IV8ValuePrimitiveObject<T extends V8Value> |
The interface V8 value primitive object.
|
| IV8ValuePrimitiveValue<T extends V8Value> |
The interface V8 value primitive value.
|
| Class | Description |
|---|---|
| V8Data |
Abstract base class for all V8 data types.
|
| V8Value |
Base class for all V8 values.
|
All V8 values implement IV8Value and extend V8Value.
The type hierarchy is:
com.caoccao.javet.values.primitive - Primitives: string, number, boolean, null, undefined, bigint, symbol.com.caoccao.javet.values.reference - Reference types: object, array, function, promise, map, set, module, etc.com.caoccao.javet.values.reference.builtin - Built-in objects: JSON, Object, Promise, Reflect, Symbol.com.caoccao.javet.values.virtual - Virtual values for iterator proxying and value list management.
Important: Reference values hold native V8 handles and must be closed after use
(via try-with-resources or JavetResourceUtils.safeClose(java.lang.Object...)) to prevent memory leaks.