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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
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