In this json tutorial for beginners, we’ll learn what json is and how to convert json text to javascript object with a single function. We’ll also learn how to use FireFox web developer console to debug and print our javascript object and json text.
games.json
{
"games":[
{ "title":"Witcher 3",
"genre":"RPG",
"developer":"CD Projekt RED" },
{ "title":"Mass Effect 3",
"genre":"RPG",
"developer":"Bioware" },
{ "title":"Heroes of Might & Magic 3",
"genre":"Turn-based strategy",
"developer":"New World Computing" }
]
}
Download this video’s files here:
https://www.patreon.com/posts/24754525
Subscribe: https://www.youtube.com/c/CleverTechieTube/featured
#json #javascript