In this video we will look at using ArduinoJSON to parse data that we get back from APIs. Arduino JSON is a really great piece of software but there are a few caveats that are important to know when you are using it.
Outro Remix by @Davedarko
---------------------------------
Timestamps:
---------------------------------
00:00 - Intro
00:34 - ArduinoJSON library overview
01:54 - ArduinoJSON Assistant
04:44 - Dynamic versus Static
05:35 - Handling errors and extracting data
06:41 - Variable Types
06:55 - Warning about char * and memory
08:27 - Parsing the data from the API
09:13 - ArduinoJSON Book
09:48 - Filtering
11:18 - Outro
11:37 - "covered in dog hair" remix by Dave Darko
---------------------------------
Links:
---------------------------------
Original API request video: • Connecting to an API using an ESP8266...
Some links about memory on ESP8266: https://gist.github.com/witnessmenow/...
ArduinoJSON: https://arduinojson.org/
ArduinoJSON Assistant: https://arduinojson.org/v6/assistant/
ArduinoJSON Book (help support the author!): https://arduinojson.org/book/
---------------------------------
Code:
---------------------------------
Sample API code (both original and new one with JSON): https://github.com/witnessmenow/ardui...
---------------------------------
My Discord:
---------------------------------
Come hang out and talk about this video or any project you are working on!
/ discord
---------------------------------
Github Sponsorship:
---------------------------------
I have set up a Github Sponsorship page, it's similar style thing to patreon. Github sponsorships help support videos like these plus the open source projects I create.
https://github.com/sponsors/witnessme...
Some people have said they would prefer a once off way of supporting the channel, here is a Paypal link if you would prefer that!
https://www.paypal.me/bloughyt
---------------------------------
My Tindie Store:
---------------------------------
My tindie store is currently on vacation mode, it will re-open shortly.
https://www.tindie.com/stores/brianlo...
---------------------------------
Other Platforms:
---------------------------------
Twitter: @witnessmenow - / witnessmenow
Instagram - / brian_lough
Instructables: witnessmenow - https://www.instructables.com/member/...
---------------------------------
My Tools & Kit*:
---------------------------------
Ender 3 Pro 3d Printer - I got one of these recently and I love it!
UK : https://amzn.to/31bebXT
US : https://amzn.to/2IlSLid
Ts-100 Soldering Iron - I have this a couple of years and I love it, I thinking about getting a second!
UK : http://amzn.to/2nlOF23
US : http://amzn.to/2jDcyxl
Lumix GH7 Camera - Camera I used in this video
UK : https://amzn.to/3fCdejn
US: https://amzn.to/3oJk0Yx
Logitech C920 HD 1080p Pro webcam - I use one of these for my videos
UK: http://amzn.to/2pnxk9Z
US: http://amzn.to/2BsLMiF
*= Affiliate Links