YexuanXiao / basic_json

A modern C++ library for working with JSON data, aims to provide full support for the JSON standard, as well as allowing users to customize and extend the library according to their needs. The library offers a user-friendly and C++-idiomatic API, without compromising on performance.
Creative Commons Zero v1.0 Universal
8 stars 2 forks source link
cpp cpp20 cpp23 json modern-cpp

Modern C++ JSON Library

This is a modern C++ library for working with JSON data. It aims to provide full support for the JSON standard, as well as allowing users to customize and extend the library according to their needs. The library offers a user-friendly and C++-idiomatic API, without compromising on performance.

To simplify complexity, this implementation relies entirely on C++17’s constexpr if, and also uses C++20’s concepts. Although there are no plans at the moment, I think it can be ported to C++17.

Goals

Not Goals

Roadmap

Stage 1: JSON representation, accessors and modifiers

Stage 2: Serializer and deserializer

Stage 3: JSON Pointer and Patch

Proposal draft

https://storage.nykz.org/proposals/minimal-json/

figure