Taritsyn/JavaScriptEngineSwitcher

Support for SetVariableValue passing in array and/or js objects?

bnowlin opened this issue · 2 comments

Support for SetVariableValue passing in array and/or js objects?

Hello, Brett!

Simple classes (or structures) and delegates can be passed using the EmbedHostObject method. Unfortunately, working with collections is not yet supported. But for now, you can use JSON serialization (see an example implementation of TypeScript compiler or Autoprefixer).

Types can be passed using the EmbedHostType method.

Thank you for the examples.

The difference methods confused me as I was expecting the interface to mirror JS.