Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is it possible convert json object back to stl container ? #1610

Closed
tuananh opened this issue May 28, 2019 · 2 comments
Closed

is it possible convert json object back to stl container ? #1610

tuananh opened this issue May 28, 2019 · 2 comments
Labels
kind: question solution: invalid the issue is not related to the library

Comments

@tuananh
Copy link

tuananh commented May 28, 2019

I'm using emscripten and when I try to do emscripten::val(my_json), it will fail because BindingError: _emval_take_value has unknown type

Is there anyway to convert json object back to using stl container? without knowing the shape of the object?

@nlohmann
Copy link
Owner

nlohmann commented Jun 1, 2019

Can you provide an example?

@nlohmann nlohmann added the state: needs more info the author of the issue needs to provide more details label Jun 1, 2019
@tuananh
Copy link
Author

tuananh commented Jun 1, 2019

I ended up using val::object and val::array in emscripten. this is not related to this lib. sorry.

@tuananh tuananh closed this as completed Jun 1, 2019
@nlohmann nlohmann added solution: invalid the issue is not related to the library and removed state: needs more info the author of the issue needs to provide more details labels Jun 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind: question solution: invalid the issue is not related to the library
Projects
None yet
Development

No branches or pull requests

2 participants