ArduinoJson is a C++ JSON library for Arduino and IoT (Internet Of Things). ArduinoJson has a simple and intuitive syntax to handle objects and arrays. ArduinoJson supports both JSON serialization and deserialization. ArduinoJson uses a fixed memory allocation, allowing to work on devices with very little RAM. ArduinoJson can filter large inputs to keep only fields that are relevant to your application, thereby saving a lot of memory. ArduinoJson can parse directly from an input Stream or std::istream. ArduinoJson can produce compact or prettified documents. ArduinoJson works directly with strings stored in program memory. ArduinoJson supports two coding styles, with implicit or explicit casts. ArduinoJson deduplicates strings in the JSON document. When you have several identical keys or values, the JsonDocument only stores one of each. In practice, this feature reduces memory consumption by 20-30%.

Features

  • Optionally decodes UTF-16 escape sequences to UTF-8
  • Optionally stores links to the input buffer (zero-copy)
  • Supports single quotes as a string delimiter
  • Consumes roughly 10% less RAM than the "official" Arduino_JSON library
  • Supports custom allocators (to use external RAM chip, for example)
  • Usable on any C++ project (not limited to Arduino)

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow ArduinoJson

ArduinoJson Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of ArduinoJson!

Additional Project Details

Programming Language

C++

Related Categories

C++ JSON Software, C++ Libraries, C++ JSON Serialization Libraries

Registered

2021-10-25