Question: what is array and object in json?
Answer: Arrays in JSON are used to organize a collection of related items (Which could be JSON objects). For example: [{"name":"item 1"},{"name": "item2} ] On the other hand, you would use JSONObject when dealing with JSON that begins with curly braces.