Uploaded May 2021 | Updated November 2026, 12 hours ago
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: youtube.com/watch?v=HUjFMVOpXBM
Some links about memory on ESP8266: gist.github.com/witnessmenow/8155c74d5599bfd1c4b1f6e813b1f490
ArduinoJSON: arduinojson.org
ArduinoJSON Assistant: arduinojson.org/v6/assistant
ArduinoJSON Book (help support the author!): arduinojson.org/book
---------------------------------
Code:
---------------------------------
Sample API code (both original and new one with JSON): github.com/witnessmenow/arduino-sample-api-request
---------------------------------
My Discord:
---------------------------------
Come hang out and talk about this video or any project you are working on!
discord.gg/nnezpvq
---------------------------------
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.
github.com/sponsors/witnessmenow
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!
paypal.me/bloughyt
---------------------------------
My Tindie Store:
---------------------------------
My tindie store is currently on vacation mode, it will re-open shortly.
tindie.com/stores/brianlough
---------------------------------
Other Platforms:
---------------------------------
Twitter: @witnessmenow - twitter.com/witnessmenow
Instagram - instagram.com/brian_lough
Instructables: witnessmenow - instructables.com/member/witnessmenow
---------------------------------
My Tools & Kit*:
---------------------------------
Ender 3 Pro 3d Printer - I got one of these recently and I love it!
- UK : amzn.to/31bebXT
- US : 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 : amzn.to/2nlOF23
- US : amzn.to/2jDcyxl
Lumix GH7 Camera - Camera I used in this video
- UK : amzn.to/3fCdejn
- US: amzn.to/3oJk0Yx
Logitech C920 HD 1080p Pro webcam - I use one of these for my videos
- UK: amzn.to/2pnxk9Z
- US: amzn.to/2BsLMiF
*= Affiliate Links
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: youtube.com/watch?v=HUjFMVOpXBM
Some links about memory on ESP8266: gist.github.com/witnessmenow/8155c74d5599bfd1c4b1f6e813b1f490
ArduinoJSON: arduinojson.org
ArduinoJSON Assistant: arduinojson.org/v6/assistant
ArduinoJSON Book (help support the author!): arduinojson.org/book
---------------------------------
Code:
---------------------------------
Sample API code (both original and new one with JSON): github.com/witnessmenow/arduino-sample-api-request
---------------------------------
My Discord:
---------------------------------
Come hang out and talk about this video or any project you are working on!
discord.gg/nnezpvq
---------------------------------
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.
github.com/sponsors/witnessmenow
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!
paypal.me/bloughyt
---------------------------------
My Tindie Store:
---------------------------------
My tindie store is currently on vacation mode, it will re-open shortly.
tindie.com/stores/brianlough
---------------------------------
Other Platforms:
---------------------------------
Twitter: @witnessmenow - twitter.com/witnessmenow
Instagram - instagram.com/brian_lough
Instructables: witnessmenow - instructables.com/member/witnessmenow
---------------------------------
My Tools & Kit*:
---------------------------------
Ender 3 Pro 3d Printer - I got one of these recently and I love it!
- UK : amzn.to/31bebXT
- US : 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 : amzn.to/2nlOF23
- US : amzn.to/2jDcyxl
Lumix GH7 Camera - Camera I used in this video
- UK : amzn.to/3fCdejn
- US: amzn.to/3oJk0Yx
Logitech C920 HD 1080p Pro webcam - I use one of these for my videos
- UK: amzn.to/2pnxk9Z
- US: amzn.to/2BsLMiF
*= Affiliate Links




![[Was Live] Working on libraries #2.5 - updating YouTube Api to work with esp32
Recording of the live stream I did to twitch on Monday, didnt go live on YouTube because my account had a community strike and it banned me from streaming (this was revoked on appeal)
My Tools & Kit*:
Ts-100 Soldering Iron
- UK : http://amzn.to/2nlOF23
- US : http://amzn.to/2jDcyxl
Logitech C920 HD 1080p Pro webcam
- UK: http://amzn.to/2pnxk9Z
- US: http://amzn.to/2BsLMiF
Blue Snowball USB Microphone
- UK: http://amzn.to/2C0x4TH
- US: http://amzn.to/2DEA85J
Self Adjusting Wire Strippers
- UK: http://amzn.to/2C0urkR
- US: http://amzn.to/2BXQAh1
Support what I do by using my Amazon Affiliate links:
Amazon.co.uk: http://amzn.to/2g7mJIO
Amazon.com : http://amzn.to/2ykDQ42
*= Affiliate Links [Was Live] Working on libraries #2.5 - updating YouTube Api to work with esp32](https://i.ytimg.com/vi/QbgHaWrtMsI/mqdefault.jpg)





