Example usage for Java jdk.nashorn.api.scripting ScriptUtils fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | convert(final Object obj, final Object type) Convert the given object to the given type. |
String | parse(final String code, final String name, final boolean includeLoc) Returns AST as JSON compatible string. |
Object | unwrap(final Object obj) Unwrap a script object mirror if needed. |
ScriptObjectMirror | wrap(final Object obj) Make a script object mirror on given object if needed. |