qmetrics.net

JSON

Header-only C++11 JSON data type library

Frameworks & PlatformsDesktop/CLI app
JSON screenshot

JSON for Modern C++ treats JSON as a native C++ type with parse, serialize, and STL-like access. Ships as a single header with optional CMake and package-manager integration.

Overview

JSON for Modern C++ is a C++11 library that lets applications work with JSON values as first-class objects in code. Values can be built from literals, files, streams, or iterator ranges, then inspected, modified, and serialized back to text or streams.

The API mirrors familiar container patterns: typed checks, element access, iteration, and comparison operators. It supports RFC JSON Pointer and JSON Patch for addressing and differencing documents, plus JSON Merge Patch for alternate update semantics. Custom C++ types can plug in through documented conversion hooks.

Beyond UTF-8 JSON text, the library reads and writes several binary encodings, including BSON, CBOR, MessagePack, UBJSON, and related formats noted in the project materials. Parsing can use a DOM model or a SAX-style interface for custom handling without building a full tree.

Integration is intentionally lightweight: the core is a single header file with no mandatory dependencies, and the project documents CMake, package managers, and pkg-config paths. UTF-8 is assumed for string serialization, with configurable error handling when dumping non-UTF-8 content.

Key features

  • Single-header C++11 integration
  • Parse and serialize JSON from strings or streams
  • STL-like access and container conversions
  • JSON Pointer, Patch, and Merge Patch
  • Binary format import and export
  • SAX-style parsing interface
  • Custom type serialization hooks
  • JSON literal and user-defined literal support

Use cases

  • Parsing configuration and API payloads in C++
  • Building and editing JSON documents in memory
  • Applying patch operations between JSON versions
  • Interchanging data via CBOR or MessagePack

Tags

Similar software

ECC

Open-source agent engineering toolkit for coding harnesses

ECC adds planning, verification, review, memory, skills, and security scanning to coding agents such as Claude Code, Codex, and Cursor. It installs as plugins, packages, and managed adapters across multiple harnesses.

★ 311.7k⟳ 8 days agoMIT
Frameworks & PlatformsDesktop/CLI app

React

JavaScript library for web and native user interfaces

React helps developers build interfaces from reusable components that manage their own state. Views update declaratively when underlying data changes.

★ 253k⟳ 2 days agoMIT
Frameworks & PlatformsDesktop/CLI app

Flutter

Open-source UI framework for multi-platform apps from one codebase

Flutter is an SDK for building user experiences for mobile, web, and desktop from a single codebase. It uses the Dart language and compiles to native machine code or web targets.

★ 181.5k⟳ todayBSD-3-Clause
Open Source Alternative to:Ionic Enterprise

Bootstrap

Responsive HTML, CSS, and JavaScript front-end toolkit

Bootstrap supplies CSS, JavaScript, and Sass-based styles for building responsive, mobile-first sites. It ships prebuilt grid layouts, UI components, and optional JavaScript plugins.

★ 175.1k⟳ 2 days agoMIT

Langflow

Visual low-code builder for AI agents and workflows

Langflow is a visual builder for AI agents and workflows. Flows can be customized in Python and deployed as an API or as an MCP server, with support for major LLMs and vector databases.

★ 157k⟳ todayMIT
Open Source Alternative to:Relevance AIVoiceflow

LangChain

Framework for agents and LLM-powered applications

LangChain helps developers chain interoperable components and integrations to build agents and LLM-powered applications. It offers a standard interface for models, embeddings, vector stores, and related pieces.

★ 150.1k⟳ 2 days agoMIT