tiny-json
zcbor
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
tiny-json
- jemi: a compact JSON serializer for embedded systems
-
How common are 16-bit MCUs ?
A bit off topic, but tiny-json exists specifically for embedded platforms, so I wouldn't roll my own allocator just for this: https://github.com/rafagafe/tiny-json
- CJSON – Ultralightweight JSON parser in ANSI C
zcbor
- zcbor: Code generation from CDDL descriptions.
-
jemi: a compact JSON serializer for embedded systems
Tinycbor is quite messy since you need one var for each map, element and level, for no reason. I ported all my cbor code to zcbor which is a lot cleaner.
What are some alternatives?
cJSON - Ultralightweight JSON parser in ANSI C
JSMN - Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket
tinycbor - Concise Binary Object Representation (CBOR) Library
embox - Modular and configurable OS for embedded applications
jemi - jemi: a compact, trusting, JSON serializer with static allocation in pure C for embedded systems
lvgl - Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.
NanoCBOR - CBOR library aimed at heavily constrained devices
cninja - an opinionated cmake config manager
postcard - A no_std + serde compatible message library for Rust
frozen - JSON parser and generator for C/C++ with scanf/printf like interface. Targeting embedded systems.
json-maker - C library used to code JSON objects in null-terminated strings