We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, maintainers.
This is related to #273
std::map m = {{"key", msgpack::type::nil_t()}}; std::stringstream ss; msgpack::pack(ss, m); msgpack::object_handle oh = msgpack::unpack(ss.str().data(), ss.str().size()); std::cout << oh.get() << std::endl;
Above result is {"key":nil}. I know the differences between nil and null, but unfortunately JSON does not have nil as reserved word.
{"key":nil}
So I'll be grad if use null instead of nil in operator<< function.
Regards.
The text was updated successfully, but these errors were encountered:
@NorioKobota , thank you for reporting the issue. I will replace nil with null for JSON output.
Sorry, something went wrong.
e21b4ef
Merge pull request #458 from redboltz/fix_457
068041f
Fixed #457.
merged.
No branches or pull requests
Hi, maintainers.
This is related to #273
Above result is
{"key":nil}
.I know the differences between nil and null, but unfortunately JSON does not have nil as reserved word.
So I'll be grad if use null instead of nil in operator<< function.
Regards.
The text was updated successfully, but these errors were encountered: