JSON Summary

0 / 5. 0

JSON Summary Name Institution Affiliation JSON Summary JavaScript Object Notation (JSON), refers to a simplified methodology for storing data in an organized and easy to access methodology. Using JSON offers a viable methodology upon which human-readable content can be accessed in logical ways. The ease of usability of JSON has made it a favorite for website designers and coders as opposed to using conventional XML versions. The syntax used in JSON is different from that used by XML because it can be read and used as data irrespective of the format in use by a programming language. Common ways in which JSON is used in website builds include: Reading of data from a webserver hen display it on a web page. The function v=can be demonstrated using a string as the input instead of using a file. The code below indicates how JSON creates a string using JSON syntax var text = '{ "employees" : }'; The syntax used in javascript is a subset of that used in JSON. Thus, the JSON.parse text may be used to convert a JSON text into a JavaScript object as shown in the code below var obj = JSON.parse(text); When the browser is too old and does not have any JavaScript support function, the JSON.parse () can use the eval () function, which is used to convert JSON text into JavaScript objects as shown below var obj = eval ("(" + text + ")"); The advantage of using the eval () function is that it has the capacity to execute or compile any JavaScript. However, the downside is that it would create security loopholes on the website created. Thus, it would be ideal to use JSON for converting JSON texts into JavaScript objects because of the ease of its readability. JSON parsers

Free JSON Summary Essay Sample

Related samples

Zika virus: Transmission form Introduction The Zika virus belongs to the Flaviviradae family, was found for the first time in a monkey called Rhesus febrile and in...

Zika virus: cases and prevention Introduction The World Health Organization (WHO) has confirmed that Zika is a virus caused through the mosquito bite which is...

Zeus The King of Greek mythology Introduction Zeus is the Olympic God of heaven and thunder, the king of all other gods and men and, consequently, the main figure...

Zeus's punishment to Prometheus Introduction Prometheus, punished by Zeus Prometheus, punished by Zeus. Prometheus is a ‘cousin’ of Zeus. He is the son of the...

Comments

Leave feedback

Your email address will not be published. Required fields are marked *