Javascript – JSON

JSON (Javascript Object Notation) is a format storing or transferring information/data. Every Javascript Object can be converted into JSON with stringify() method:

1st is the object, and the 2nd is JSON String

You can also convert a JSON string to a Javascript object using the parse() method

If you need to download/get JSON remote data, you can use Fetch or Xhr2 APIs

Fetch API

Xhr2 API

Javascript – JSON

Read More

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s