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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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