for those come here later, here what i do
val entry = val::object();
entry.set(string("name"), string("A"));
On Tuesday, May 28, 2019 at 1:24:07 PM UTC+7, Tuan Anh Tran wrote:
>
> how to store json object in c++ with emscripten so that I can use val()
> later on to return to js
>
> If i use a third party lib, it will fail when using val() with error
>
> BindingError: _emval_take_value has unknown type
>
--
You received this message because you are subscribed to the Google Groups
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/emscripten-discuss/d8235518-ea8a-47f4-8b12-e8fa8032307c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.