Hi Guest

MobileUser

1 HomePage 1 Jobs 1 WalkIn 1Articles  

Cat Exam

 :) Latest Topic
AJAX
VB.NET
SQL Query
UDDI
CLASS
JavaScript Questions
SharePoint Interview
SilverLight
WCF
general knowledge
 ASP.NET
 :) Hot Jobs
 
 :) Latest Articles


  

 
DogFood


What is the correct way to write a JSON array?
Question Posted on 12 Sep 2023

Home >> WEB >> JSON MCQ >> What is the correct way to write a JSON array?




What is the correct way to write a JSON array?
Choose the correct option from below list
(1)var colors = 1 = ("red"), 2 = ("green"), 3 = ("blue")
(2)var colors = "red", "green", "blue"
(3)var colors = (1:"red", 2:"green", 3:"blue")
(4)var colors = ["red", "green", "blue"]

Answer:-(4)var colors = ["red", "green", "blue"]
0
0



 
 Input Your Comments Or suggestions(If Any)
 Name
 Email(optional)
 Comments


Other Important Questions
JSON objects are typed while XML data is typeless is True or False.
GSON can convert any Objects into JSON and vice versa.
What is/are the correct statements about JSON?
Which would be better option to consider in a environment with distributed set-up with multiple small JSON files?
Objects can contain multiple name/values pairs it is True or False.






 
Top Searches:asp net questions vb net questions sql query uddl questions class javascript Questions sharepoint interview questions and concept silverlight questions and concept wcf questions beans general knowledge ajax questions
PHP | Biztalk | Testing | SAP | HR |