public interface IV8Convertible
| Modifier and Type | Method and Description |
|---|---|
<T,V extends V8Value> |
toObject(V v8Value)
Convert from V8 value to object.
|
default <T,V extends V8Value> |
toObject(V v8Value,
boolean autoClose)
Convert from V8 value to object.
|
<T,V extends V8Value> |
toV8Value(T object)
Convert object to V8 value.
|
<T,V extends V8Value> T toObject(V v8Value) throws JavetException
T - the type parameterV - the type parameterv8Value - the V8 valueJavetException - the javet exceptiondefault <T,V extends V8Value> T toObject(V v8Value, boolean autoClose) throws JavetException
T - the type parameterV - the type parameterv8Value - the V8 valueautoClose - the auto closeJavetException - the javet exception@CheckReturnValue <T,V extends V8Value> V toV8Value(T object) throws JavetException
T - the type parameterV - the type parameterobject - the objectJavetException - the javet exception