GitHub Trends
10.1K subscribers
15.3K links
See what the GitHub community is most excited about today.

A bot automatically fetches new repositories from https://github.com/trending and sends them to the channel.

Author and maintainer: https://github.com/katursis
Download Telegram
#cplusplus #bson #cbor #header_only #json #json_diff #json_merge_patch #json_parser #json_patch #json_pointer #json_serialization #messagepack #msgpack #rfc_6901 #rfc_6902 #rfc_7049 #rfc_7159 #rfc_8259 #stl_containers #ubjson

This library, called "JSON for Modern C++," provides a simple and intuitive way to work with JSON data in C++ programs. Here are the key benefits and features The library uses modern C++ features to make working with JSON feel natural, similar to how JSON is handled in languages like Python.
- **Trivial Integration** The library is heavily unit-tested, covering 100% of the code, including exceptional behavior, and uses tools like Valgrind and Clang Sanitizers to ensure no memory leaks.

### Key Features

- **STL-like Access** You can convert various STL containers (like `std: Support for JSON Pointer and JSON Patch (RFC 6901 and RFC 6902) for addressing and modifying parts of a JSON document.
- **Binary Formats** You can serialize and deserialize custom types using simple macros or functions.
- **Error Handling** Simple and intuitive API makes it easy to read, write, and manipulate JSON data.
- **Highly Tested** Supports various data formats and custom types, making it versatile for different use cases.
- **Efficient**: Optimized for performance, especially with binary formats.

Overall, this library simplifies working with JSON in C++ while providing robust features and reliable performance.

https://github.com/nlohmann/json
1