a=[1,2,3]// a is an array of intsb=[1.0,2.0,3.0]// b is an array of floatsc=["a","b","c"]// c is an array of strings// Arrays can be nestedd=[[1,2],[3,4]]// d is an array of arrays of ints// Arrays can be emptye=[]// e is an empty array of unknown type
// a is an object with fields x and y of type inta={x:1,y:2};// b is an object with fields x and y of type floatb={x:1.0,y:2.0};// c is an object with fields x and y of type stringc={x:"a",y:"b"};// Objects can be nested// d is an object with fields x and w of type objectd={x:{y:1,z:2},w:{y:3,z:4}};// Objects can be empty// e is an empty object of unknown typee={};