ArduinoJson is awesome

arduinojson.png

I’ve probably raved about this before. But, in case you missed it, here it is again. Arduino Json is awesome. Awesome, awesome. I’m using OpenWeatherMap to get some weather data into my ESP32 program. It arrives as a Json formatted string that I need to convert into values to use in my program. With ArduinoJson I can just pop their include file in the same folder as my application and away I go. No messing around installing libraries and wondering if they are the right ones. The decoder stays right with your code.

They’ve made it incredibly to create the code that you need to unpick your data. You just have to take the Json you want to work with and paste it into their web page. Then it comes up with the C++ code for you to drop into your solution to decode and encode the Json stream. Wonderful.