awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
DaveGamble avatar

DaveGamble/cJSON

0
View on GitHub↗
12,466 stars·3,438 forks·C·mit·34 views

CJSON

cJSON is a lightweight library for parsing, creating, and modifying JSON data structures within C applications. It provides a comprehensive set of utilities for transforming raw text into navigable objects, manipulating data fields within collections, and serializing complex structures into formatted or unformatted strings.

The library is designed for memory-sensitive and resource-constrained environments, utilizing manual memory management and type-tagged union structures to maintain a minimal footprint. It employs recursive descent parsing and in-place string manipulation to process data efficiently, while representing hierarchies through doubly linked list nodes to facilitate traversal and modification.

The project functions as a self-contained utility with no external dependencies, making it suitable for integration into embedded systems. It provides the necessary tools for managing data interchange and maintaining accurate information states throughout an application lifecycle.

Features

  • JSON Parsers - Provides a lightweight, dependency-free library for parsing and modifying JSON data structures in C applications.
  • Embedded - Navigates and manipulates structured JSON objects with high memory efficiency for resource-constrained environments.
  • Embedded Data Handling Libraries - Provides lightweight data interchange utilities specifically designed for memory-sensitive and resource-constrained embedded environments.
  • JSON Serialization Libraries - Converts complex C data structures into formatted JSON strings for storage and network transmission.
  • JSON - Provides functions to create, update, and remove data fields within JSON structures.
  • Data Formats - Ultra-lightweight JSON parser for C.
  • Data Formats and Parsing - JSON parser.
  • JSON Processing - Ultralightweight JSON parser in ANSI C.
  • Embedded Software Libraries - Lightweight JSON parsing library written in C.
  • Embedded Utility Libraries - Minimalist JSON parsing library written in C.
  • Json - Listed in the “Json” section of the Awesome Cpp Cn awesome list.
  • String Formatting Utilities - Transforms complex data structures into formatted or unformatted JSON strings for efficient storage and transmission.
  • Recursive Descent Parsers - Employs recursive descent parsing to build trees of nested data nodes from input strings.
  • Manual Memory Management Utilities - Requires explicit allocation and deallocation of every node to maintain full control over memory footprint.

Star history

Star history chart for davegamble/cjsonStar history chart for davegamble/cjson

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with CJSON

These projects share indexed features with CJSON. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • zserge/jsmnzserge avatar

    zserge/jsmn

    4,065View on GitHub↗

    jsmn is a lightweight JSON parser library written in C. It provides zero-copy tokenization and incremental parsing designed for use in embedded systems and memory-constrained environments. The library identifies structural JSON elements by providing offsets into the original string rather than allocating new memory for data. It uses a single-pass scanning method and requires static-buffer allocation, meaning the caller provides the memory for tokens to avoid dynamic allocation during the parsing process. The parser supports incremental streaming, allowing it to process JSON data in chunks fr

    Cjson-datajson-stringparsing
    View on GitHub↗4,065
  • open-source-parsers/jsoncppopen-source-parsers avatar

    open-source-parsers/jsoncpp

    8,850View on GitHub↗

    JsonCpp is a C++ library for parsing, manipulating, and generating JSON data. It functions as a data interchange tool that provides a JSON parser to convert formatted text into structured data and a JSON serializer to transform internal data structures back into valid JSON strings. The library features the ability to preserve non-standard JSON comments during the deserialization and serialization process, which supports the management of human-readable configuration files. The project implements a tree-based internal representation for programmatic data access and uses a builder-based config

    C++
    View on GitHub↗8,850
  • tencent/rapidjsonTencent avatar

    Tencent/rapidjson

    15,000View on GitHub↗

    RapidJSON is a header-only C++ library designed for high-performance parsing, generation, and manipulation of JSON data. It functions as a dual-mode engine, providing both an in-memory document object model for tree-based manipulation and a stream-based interface for event-driven processing. The library is built to minimize memory footprint and maximize execution speed, making it suitable for resource-constrained environments. The library distinguishes itself through advanced memory management and optimization techniques, including in-situ parsing that modifies input buffers directly to elimi

    C++
    View on GitHub↗15,000
  • miloyip/rapidjsonmiloyip avatar

    miloyip/rapidjson

    15,095View on GitHub↗

    RapidJSON is a high-performance C++ library used for parsing and generating JSON data. It provides both document object model and stream-based interfaces to transform JSON strings into structured data and vice versa. The library includes a JSON schema validator to verify that documents conform to predefined rules and a Unicode transcoder for converting strings between UTF-8, UTF-16, and UTF-32 encodings. It also supports relaxed parsing for non-standard JSON containing comments or trailing commas. Additional capabilities cover JSON pointer navigation for locating specific values and string s

    C++
    View on GitHub↗15,095
Compare all 30 related projects→

Frequently asked questions

What does davegamble/cjson do?

cJSON is a lightweight library for parsing, creating, and modifying JSON data structures within C applications. It provides a comprehensive set of utilities for transforming raw text into navigable objects, manipulating data fields within collections, and serializing complex structures into formatted or unformatted strings.

What are the main features of davegamble/cjson?

The main features of davegamble/cjson are: JSON Parsers, Embedded, Embedded Data Handling Libraries, JSON Serialization Libraries, JSON, Data Formats, Data Formats and Parsing, JSON Processing.

Which projects share features with davegamble/cjson?

Projects with overlapping indexed features include: zserge/jsmn — jsmn is a lightweight JSON parser library written in C. It provides zero-copy tokenization and incremental parsing… open-source-parsers/jsoncpp — JsonCpp is a C++ library for parsing, manipulating, and generating JSON data. It functions as a data interchange tool… tencent/rapidjson — RapidJSON is a header-only C++ library designed for high-performance parsing, generation, and manipulation of JSON… miloyip/rapidjson — RapidJSON is a high-performance C++ library used for parsing and generating JSON data. It provides both document… nlohmann/json — This library is a header-only C++ framework designed for the serialization, parsing, and manipulation of structured… kazuho/picojson — a header-file-only, JSON parser serializer in C++.