I changed the code to expose a
Is there any way to create a real JS object from C# and expose that to the script engine?
Dictionary<string, object> on Engine.Script instead, and iterate over that and convert it to a real JS object. But that turned out to be more than twice as slow as Engine.Evaluate("someFunc(" + json + ")"). I'm guessing it's because I'm crossing the boundary between CLR and V8 a lot by doing that.Is there any way to create a real JS object from C# and expose that to the script engine?