Order Now

JSON Summary

Category:

No matching category found.

0 / 5. 0

Words: 275

Pages: 1

158

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” : [‘ +'{ “firstName”:”John” , “lastName”:”Doe” },’ +'{ “firstName”:”Anna” , “lastName”:”Smith” },’ +'{ “firstName”:”Peter” , “lastName”:”Jones” } ]}’;
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.

Wait! JSON Summary paper is just an example!

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 are also fast and would thus yield enhanced results as opposed to using conventional ones. Nonetheless, JSON can only be used on particular browsers including Firefox 3.5, Internet Explorer 8, Chrome, Opera 10 and Safari 4.

Get quality help now

Jennie Phelps

5,0 (495 reviews)

Recent reviews about this Writer

High-quality writing and plagiarism check. Timely delivery. Nothing to worry about. 5 stars out of 5!

View profile

Related Essays

Occupational Therapy Program

Pages: 1

(550 words)

Quiz1

Pages: 3

(825 words)

Healthcare Quality

Pages: 6

(1650 words)

Nursing Informatics

Pages: 1

(275 words)

Finance Admission essay

Pages: 1

(550 words)

Refugee Camp Because Of Wars

Pages: 5

(1400 words)

Indebtedness In Ecuador From Birth

Pages: 3

(904 words)

Networked Services

Pages: 8

(2200 words)

Medication Use Studies

Pages: 4

(1150 words)