This isn't a single JSON object. You have an array of JSON objects. You need to loop over array first and then access each object. Maybe the following kickoff example is helpful:

var arrayOfObjects = [{
  "id": 28,
  "Title": "Sweden"
}, {
  "id": 56,
  "Title": "USA"
}, {
  "id": 89,
  "Title": "England"
}];

for (var i = 0; i < arrayOfObjects.length; i++) {
  var object = arrayOfObjects[i];
  for (var property in object) {
    alert('item ' + i + ': ' + property + '=' + object[property]);
  }
  // If property names are known beforehand, you can also just do e.g.
  // alert(object.id + ',' + object.Title);
}

If the array of JSON objects is actually passed in as a plain vanilla string, then you would indeed need eval() here.

var string = '[{"id":28,"Title":"Sweden"}, {"id":56,"Title":"USA"}, {"id":89,"Title":"England"}]';
var arrayOfObjects = eval(string);
// ...

To learn more about JSON, check MDN web docs: Working with JSON .

Answer from BalusC on Stack Overflow
🌐
Adobe
opensource.adobe.com › Spry › samples › data_region › JSONDataSetSample.html
JSON Data Set Sample
The examples on this page attempt to illustrate how the JSON Data Set treats specific formats, and gives examples of the different constructor options that allow the user to tweak its behavior. See our JSON Primer for more information. Example 1 - JSON Array with simple data types as elements. ... Example 4 - The "path" constructor option. Example 5 - The "path" constructor option and JSON Array with objects as elements.
Discussions

Array of JSON Objects - javascript
I am trying to re-implement a page using JSON instead of some 2-dimensional arrays. What I am hoping to accomplish is get an array of objects. The objects would look like this: { // Restaurant &... More on stackoverflow.com
🌐 stackoverflow.com
array or objects?
It is easier to map over an array than an object More on reddit.com
🌐 r/webdev
16
8
August 4, 2022
Opis JSON Schema: Is it possible to generate a schema from a PHP array or object?
Looking at the docs here , your example lacks "properties" => (object) [ and "myString" => (object) [. Note that casting an array to object isn't a recursive operation, so you need to manually cast everything withing the schema that need to be an object. Alternatives: Start with actual object: $schema = new stdClass; The validator accepts JSON encoded stings, so you can json_encode the array or use the Helper::toJSON() method. PS: I tried to achieve this and I keep getting several Fatal Errors in PHP It's very important to try to understand those error messages, as they likely point to the fix. Or at least include then in your post, so we know about them. When reading your post, I was unsure if the example provided was the one having errors. More on reddit.com
🌐 r/PHPhelp
3
2
February 21, 2024
JSON Array to Tasker Array
I can see in your example how the JSON could be structured in your source data, but can you provide an example of you want the Tasker array to be based on that? Like ` %my_json() = ????,???,???, etc Or are you looking to create multiple arrays? Or create a whole bunch of individual local variables? More on reddit.com
🌐 r/tasker
11
1
November 28, 2022
🌐
W3Schools
w3schools.com › js › js_json_server.asp
W3Schools.com
The Content-Type header tells the server what type of data is being sent. ... The value application/json tells the server that the request body contains JSON. The request body must contain text, not a JavaScript object.
🌐
GitHub
gist.github.com › fatihacet › 4247503
Sample array of object json · GitHub
Sample array of object json. GitHub Gist: instantly share code, notes, and snippets.
🌐
Codeblogmoney
codeblogmoney.com › json-example-with-data-types-including-json-array
JSON Example with Data Types Including JSON Array
July 3, 2018 - Valid JSON Data Types String Number Object Array Boolean Null 1. JSON String Example: 1 2 3 4 5 { "firstname": "Tom", "lastname": "Cruise", "occupation": "Actor" } This example shows information about a person, and you know Tom Cruise.
🌐
ReqBin
reqbin.com › json › uzykkick › json-array-example
What is JSON Array?
June 11, 2022 - The following is an example of an array of JSON booleans: ... A JSON object is similar to a JavaScript object. We can also create a JSON array containing many objects, and then we can iterate over this array or use "[]" square brackets to get the desired object.
🌐
Micro Focus
microfocus.com › documentation › silk-performer › 205 › en › silkperformer-205-webhelp-en › GUID-0847DE13-2A2F-44F2-A6E7-214CD703BF84.html
JSON Array Structure - Micro Focus
In contrast to regular arrays from the BDL, the elements of a JSON array can be of different data types. The following data types are allowed for JSON arrays: [ ] //Empty JSON array [ 0, 1, 2, 3, 4, 5] [ “StringValue”, 10, 20.13, true, null ] [ { “Name” : “Nested Object” }, [ 10, 20, true, 40, “Nested Array” ] ]
Find elsewhere
🌐
W3Resource
w3resource.com › JSON › snippets › json-array-syntax.php
JSON Array: Syntax, Examples
November 7, 2025 - This JSON array contains objects, often used to represent structured data like user details. Example 5: Converting a JSON String to Array in JavaScript
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › what-is-json-array
What is JSON Array? - GeeksforGeeks
July 23, 2025 - Example: Here we assign a JSON Array of Arrays to the key matrix in jsonMultiArray object.
🌐
CodeUtility
blog.codeutility.io › programming › how-to-use-arrays-in-json-with-examples-in-code-5eeef2665f
How to use Arrays in JSON (With Examples in Code) | CodeUtility
September 26, 2025 - Here are some common operations you’ll often need when working with JSON arrays: // Sample JSON array of objects const users = [ { name: "Alice", active: true }, { name: "Bob", active: false }, { name: "Carol", active: true } ]; // 1.
🌐
Medium
medium.com › @apdharshi › difference-between-arrays-and-json-objects-fa1c8598f9f1
Difference between Arrays and JSON Objects | by APD | Medium
May 19, 2019 - json: any = { "visible": true, "colors": { "data": { "darkest": "Black", "lightest": "white", "neutral": "Grey", "spectrum": { "1": "Violet", "2": "Indigo", "3": "Blue", "4": "Green", "5": "Yellow", "6": "Orange", "7": "Red" }, "default": "Grey", "primary": "Blue", "danger": "Red", "warning": "Yellow", "success": "Green", "RGB": { "r": "Red", "g": "Green", "b": "Blue" } } }} So these are the differences between Arrays and Objects.
🌐
RestfulAPI
restfulapi.net › home › json › json array
Multi-dimensional Array in JSON - REST API Tutorial
November 4, 2023 - JSON arrays can be of multiple data types. JSON array can store string, number, boolean, object or other array inside JSON array. In JSON array, values must be separated by comma. Arrays in JSON are almost the same as arrays in JavaScript. For example, given below is a JSON document that contains a JSON array of access rights.
🌐
W3Resource
w3resource.com › JSON › structures.php
JSON Structures | JSON tutorial | w3resource
An object starts and ends with '{' and '}'. Between them, a number of string value pairs can reside. String and value is separated by a ':' and if there are more than one string value pairs, they are separated by ','. ... In JSON, objects can nest arrays (starts and ends with '[' and ']') within it. The following example shows that.
🌐
JSONata
docs.jsonata.org › simple
Simple Queries · JSONata
Here are some example expressions and their results when applied to the above JSON document: ... Path not found. Returns nothing (i.e. Javascript undefined) ... JSON arrays are used when an ordered collection of values is required. Each value in the array is associated with an index (position) rather than a name, so in order to address individual values in an array, extra syntax is required to specify the index.
🌐
ReqBin
reqbin.com › json › nodejs › uzykkick › json-array-example
Node.js | What is JSON Array?
June 11, 2022 - The following is an example of an array of JSON booleans: ... A JSON object is similar to a JavaScript object. We can also create a JSON array containing many objects, and then we can iterate over this array or use "[]" square brackets to get the desired object.
🌐
Microverse
microverse.org › home › blog › how to loop through the array of json objects in javascript
How to Loop Through the Array of JSON Objects in JavaScript
September 29, 2022 - This tutorial will guide you on how to loop the array of JSON objects in JavaScript. We’ll explain the types of loops and how to use them.
🌐
JAXB
javaee.github.io › tutorial › jsonp001.html
Introduction to JSON
Arrays are enclosed in brackets ([]), and their values are separated by a comma (,). Each value in an array may be of a different type, including another array or an object. When objects and arrays contain other objects or arrays, the data has a tree-like structure. JSON is often used as a common format to serialize and deserialize data in applications that communicate with each other over the Internet.
🌐
JSON Schema
json-schema.org › understanding-json-schema › reference › array
JSON Schema - array
Tuple validation is useful when the array is a collection of items where each has a different schema and the ordinal index of each item is meaningful. For example, you may represent a street address such as 1600 Pennsylvania Avenue NW as a 4-tuple of the form: