eclipsesource / eclipsesource/J2V8
How to pass a Java object to JS?
Open
- Dominant language
- Java
- Stars
- 2.6k
- Forks
- 387
- PR merge metrics
- No merged PRs in 30d
Description
In Nashorn I can call a JS function with a Java object as parameter, like this:
```invocable.invokeFunction("funcName", new Date());```
How can I do that in J2V8 ? There are only int, boolean, double, String and V8Value can be push into a V8Array which is the only parameter of
```v8.executeFunction("funcName", v8Array)```
Contributor guide
Assessment
This issue has not been assessed yet.