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

Q: Is it possible to build json tree from already UTF8 encoded values? #293

Closed
clarkk opened this issue Aug 16, 2016 · 3 comments
Closed
Labels
solution: invalid the issue is not related to the library

Comments

@clarkk
Copy link

clarkk commented Aug 16, 2016

Is it possible to build a JSON tree from already UTF8 encoded strings?

eg
utf8 encoded string with æøå

@nlohmann
Copy link
Owner

I am not sure what you mean. You can parse any valid JSON text with json::parse(), including UTF-8 encoded strings. You can also create a JSON object with type string by calling the constructor with std::string or const char[].

@nlohmann
Copy link
Owner

@clarkk Could you please clarify?

@clarkk
Copy link
Author

clarkk commented Aug 18, 2016

just close the issue.. it was late when I wrote it :)

@nlohmann nlohmann added solution: invalid the issue is not related to the library and removed kind: question labels Aug 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
solution: invalid the issue is not related to the library
Projects
None yet
Development

No branches or pull requests

2 participants