New Opto 22 Developer Broadcast video makes the JSON data format easy to understand.
OptoBlog followers are most likely familiar with Terry Orchard’s Node-RED video series, and he’s recently added a new video to that playlist. This time, Terry’s goal is to introduce you to the JSON data format, so it’s easy to understand and simple to get started with.
01:21 Generic example
02:15 String value
02:52 Additional number properties
03:26 Boolean properties
03:59 The “no value” null keyword
04:46 Storing multiple values in ordered lists
05:35 Objects as values
06:19 Referring to sub-properties
06:51 Real-world weather data
07:38 Viewing JSON in “PrettyPrint”
08:15 Viewing JSON in the Node-RED debug pane
09:37 Grabbing a specific value
10:33 Getting the path to a sub-property
11:16 Getting data from arrays
JSON is a common data format used all over the world for web services, IoT applications, APIs, and much more. It’s also a standard part of Node-RED.
As Terry mentions in the video, if you haven’t worked with JSON before, it might seem a bit daunting. This video hopes to alleviate that fear. It provides a generic example of what JSON is and what you can use it for, and then you’ll get some real-world examples so you can make the most of it. Watch now.
Filed Under: Opto 22 Sponsored Content