Hi!
We're using ClearScript V8 to render React on the server. Works great, but it slows down a bit when there's a lot of data that needs to be passed to V8. Our current approach is to serialize the object to a JSON string and do: Engine.Evaluate("someFunc(" + json + ")")
Is there a better way to transfer a large object? I looked at adding it as a host object, but from what I can tell it doesn't become real JavaScript objects. That is, a List won't become an array on the JavaScript side, etc.
We're using ClearScript V8 to render React on the server. Works great, but it slows down a bit when there's a lot of data that needs to be passed to V8. Our current approach is to serialize the object to a JSON string and do: Engine.Evaluate("someFunc(" + json + ")")
Is there a better way to transfer a large object? I looked at adding it as a host object, but from what I can tell it doesn't become real JavaScript objects. That is, a List won't become an array on the JavaScript side, etc.