Interview Questions Answers.ORG
Interviewer And Interviewee Guide
Interviews
Quizzes
Home
Quizzes
Interviews Top World Wide Web Interviews:Action ScriptAJAXBasic InternetBloggingCascading Style Sheet CSSCSS3DHTMLDomain Name System (DNS)EcommerceHTMLHTML5JavaScriptjQueryjQuery KnockoutJSONJSONPUser Interface DesignerVBScriptW3CWeb 2.0 TechnologiesWeb 3.0 TechnologiesWeb BuildingWeb DevelopersWeb QualityWeb SecurityWeb SemanticWebmaster
Copyright © 2018. All Rights Reserved
JSON Interview Question:
Explain Syntax of JSON using JavaScript?
Submitted by: AdministratorBecause 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" }
]
}
Submitted by: Administrator
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" }
]
}
Submitted by: Administrator
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.
https://InterviewQuestionsAnswers.ORG.