TB3239 - JSON Decoder for PIC and AVR
mega4808, USB CDC ACM via nEDBG, MPLAB X with MCC plug-in
"Dare to be naïve." - Buckminster Fuller
GitHub - MicrochipTech/json_decoder
JSON Decoder for PIC® and AVR® Devices
Interesting but I wonder what kind of resource usage this has? In particular how big a JSON can it actually cope with. All the leafs of the tree are going to need pointers to the keys and the values as a minimum.
Personally I've had a lot of experience with:
which (so far!) has worked faultlessly but this has been use in an embedded environment where resources sizes are never a particularly great worry (RAM/flash measured in MBs not KBs)
Interesting but I wonder what kind of resource usage this has?
[CODE][C] Parsing a JSON-based config file using micro-memory with Ragel | AVR Freaks
ArduinoJson is arguably the most popular Arduino library, and rightly so. Written and documented to academic standards. It's zero-copy and can use static or dynamically allocated memory. It claims compatibility with Atmel Studio as well.
It is C++ though and uses some fairly advanced concepts (that I don't fully understand).
© 2020 Microchip Technology Inc.