JavaScript Object Notation, or JSON, gives us the ability to send JavaScript over a network/internet. To do this, we need to use the global JSON object to turn it into a string to send it over the wire…
This will output "name":"Bongo","type":"gorilla". So we can send this to any API endpoint on the web. Notice that it put the items into quotes…it stringified it. We can also do it with an array…