JSON Interview Questions And Answers Guide.

JSON Interview Questions And

Answers Guide.

Global Guideline.



JSON Interview Questions And Answers

G

ba

lo

JSON Job Interview Preparation Guide.

ui

lG

Question # 1

What is JSON?

Read More Answers.

Question # 2

What is JSON Parser?

lin

de

Answer:JSON stands for JavaScript Object Notation, JSON is lightweight text-data interchange format it is language independent mean JSON uses JavaScript syntax for

describing data objects, but JSON is still language and platform independent. JSON parsers and JSON libraries exists for many different programming languages. It is

"self-describing" and easy to understand.

Read More Answers.

e

Answer:The eval() function can compile and execute any JavaScript. This represents a potential security problem.

It is safer to use a JSON parser to convert a JSON text to a JavaScript object. A JSON parser will recognize only JSON text and will not compile scripts.

Read More Answers.

M

Question # 4

How to convert JSON Text to a JavaScript Object?

O

Answer:JSON objects are written inside curly brackets,

Objects can contain multiple name/values pairs.

.C

Question # 3

Explain JSON Objects?

Answer:One of the most common use of JSON is to fetch JSON data from a web server (as a file or as an HttpRequest), convert the JSON data to a JavaScript object, and

then it uses the data in a web page.

Read More Answers.

Question # 5

Which browsers provide native JSON support?

Answer:Native JSON support is included in newer browsers and in the newest ECMAScript (JavaScript) standard.

Web Browsers Support:

* Firefox (Mozilla) 3.5

* Internet Explorer 8

* Chrome

* Opera 10

* Safari 4

Read More Answers.

Question # 6

Explain JSON Values?

Answer:JSON values can be:

* A number (integer or floating point)

* A string (in double quotes)

Copyright ?

Page 2/6

JSON Interview Questions And Answers

* A Boolean (true or false)

* An array (in square brackets)

* An object (in curly brackets)

* null

Read More Answers.

G

Question # 7

Explain JSON Arrays?

ba

lo

Answer:JSON arrays are written inside square brackets.

An array can contain multiple objects:

JSON Arrays

{

"studeents": [

{ "firstName":"Ali" , "lastName":"Khan" },

{ "firstName":"John" , "lastName":"Sena" },

{ "firstName":"Kate" , "lastName":"Winslet" }

]

}

ui

Question # 8

Explain Syntax of JSON using JavaScript?

lG

Read More Answers.

Read More Answers.

M

O

Answer:JSON is smaller than XML, and faster and easier to parse. Below is a basic syntax of JSON

JSON CODE

{

"studeents": [

{ "firstName":"Ali" , "lastName":"Khan" },

{ "firstName":"John" , "lastName":"Sena" },

{ "firstName":"Kate" , "lastName":"Winslet" }

]

}

.C

Question # 9

Explain Syntax of JSON?

e

lin

de

Answer:Because JSON uses JavaScript syntax, no extra software is needed to work with JSON within JavaScript.

With JavaScript you can create an array of objects and assign data to it like this:

JSON CODE

{

"studeents": [

{ "firstName":"Ali" , "lastName":"Khan" },

{ "firstName":"John" , "lastName":"Sena" },

{ "firstName":"Kate" , "lastName":"Winslet" }

]

}

Read More Answers.

Question # 10

Explain JSON Syntax Rules?

Answer:JSON syntax is a subset of the JavaScript object notation syntax.

* Data is in name/value pairs

* Data is separated by comma

* Curly brackets holds objects

* Square brackets holds arrays

Read More Answers.

Question # 11

What is JSON file type?

Answer:The file type for JSON files is ".json"

Read More Answers.

Question # 12

What is MIME type for JSON?

Answer:Copyright ?

Page 3/6

JSON Interview Questions And Answers

The MIME type for JSON text is "application/json"

Read More Answers.

ba

lo

G

e

lin

de

ui

lG

M

O

.C

Copyright ?

Page 4/6

World Wide Web Most Popular Interview Topics.

1 : JavaScript Frequently Asked Interview Questions and Answers Guide.

2 : AJAX Frequently Asked Interview Questions and Answers Guide.

3 : jQuery Frequently Asked Interview Questions and Answers Guide.

4 : VBScript Frequently Asked Interview Questions and Answers Guide.

5 : Basic Internet Frequently Asked Interview Questions and Answers Guide.

6 : HTML Frequently Asked Interview Questions and Answers Guide.

7 : Cascading Style Sheet CSS Frequently Asked Interview Questions and Answers Guide.

8 : HTML5 Frequently Asked Interview Questions and Answers Guide.

9 : UI Designer Frequently Asked Interview Questions and Answers Guide.

10 : Web Developers Frequently Asked Interview Questions and Answers Guide.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download