Production Library Building a C++23 JSON-RPC 2.0 Library - 31 Tests, Full Documentation, Real-World Examples
I recently built a header-only C++23 library implementing JSON-RPC 2.0 and wrote about the complete journey from specification to production-ready code.
The article covers:
\- Why header-only and why C++23
\- Implementation details (dispatcher pattern, error handling)
\- Real-world examples with full code
\- Testing strategy (31 unit tests)
\- Lessons learned
Library: https://github.com/pooriayousefi/jsonrpc2
Article: https://medium.com/@pooriayousefi/building-a-modern-c-23-json-rpc-2-0-library-b62c4826769d
I'd love to hear feedback from the community!
https://redd.it/1o5rxk0
@r_cpp
Post #24053
22