How to parse JSON in C ?

This page summarizes the projects mentioned and recommended in the original post on /r/C_Programming

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. json-c

    https://github.com/json-c/json-c is the official code repository for json-c. See the wiki for release tarballs for download. API docs at http://json-c.github.io/json-c/

    There are a few libraries out there for doing it. I like json-c but there are others.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. cJSON

    Ultralightweight JSON parser in ANSI C

    Pretty much any library you decide to use should do the trick. For a fully-featured but still simple to use library I'd recommend cJSON, or if you need something super lightweight, jsmn

  4. JSMN

    Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket

    Pretty much any library you decide to use should do the trick. For a fully-featured but still simple to use library I'd recommend cJSON, or if you need something super lightweight, jsmn

  5. parson

    Lightweight JSON library written in C.

    I've always used parson for my projects: https://github.com/kgabis/parson

  6. yyjson

    The fastest JSON library in C

    If you need speed, by far yyjson. But it sounds like you probably don't need speed, so the other suggestions are likely better.

  7. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts