jemi
tiny-json
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.
jemi
-
jems: ANOTHER compact JSON serializer for embedded systems
Do you mean something like this? If so, check out the sister project jemi. jemi is more natural to use (thanks to varargs), but allocates storage for every node. jems, on the other hand, only needs enough storage to keep track of levels:
-
jemi: a compact JSON serializer for embedded systems
So I created jemi ("Json EMItter"): you use use jemi primitives to build up the JSON structure that you need, then call jemi_emit() to dump the resulting JSON string to the output of your choice.
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
What are some alternatives?
tinycbor - Concise Binary Object Representation (CBOR) Library
cJSON - Ultralightweight JSON parser in ANSI C
zcbor - Low footprint C/C++ CBOR library and Python tool providing code generation from CDDL descriptions.
JSMN - Jsmn is a world fastest JSON parser/tokenizer. This is the official repo replacing the old one at Bitbucket
Jansson - C library for encoding, decoding and manipulating JSON data
embox - Modular and configurable OS for embedded applications
lvgl - Embedded graphics library to create beautiful UIs for any MCU, MPU and display type.
cninja - an opinionated cmake config manager
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
prnf - A lightweight tiny printf alternative. With some reasonable limitations, extensions, and alternative behaviour suited to microcontrollers.