-
-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
Add BSON support #1320
Add BSON support #1320
Conversation
…endian input to get rid of `binary_reader::get_number_little_endian`
…of the BSON-output. This way, the output_adapter can work on simple output iterators and no longer requires random access iterators.
…std::uint64_t` is serialized to BSON. Also, added a missing EOF-check to binary_reader.
…ialized to BSON contains a U+0000
…re/bson Conflicts: include/nlohmann/detail/input/binary_reader.hpp single_include/nlohmann/json.hpp src/unit-bson.cpp
…in the key-string as part of `out_of_range.409`-message
…into julian-becker-feature/bson
- added fuzz testers - added some reference files - made an exception text more clear
@julian-becker Anything else to be added to the PR? Note I did not add the modified If you agree, I would merge the PR and prepare a release in the next week. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far, I don't have anything to add at this point.
Thanks a lot for giving everything the finishing touch and for your thorough review!
Thanks @julian-becker ! |
Thanks, @nlohmann for creating and maintaining this awesome library, and for letting me contribute a small piece to it! |
Based on #1254, closes #1244.