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
🌐
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.
🌐
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.
People also ask

What does an empty JSON object look like?
An empty JSON object is {}. It is valid JSON containing no key-value pairs. An empty JSON array is []. Both are commonly used as default or placeholder values in APIs — for example, an empty metadata object {} signals that no metadata is present, without the field being null or absent. In JavaScript, JSON.parse("{}") returns an empty object and Object.keys({}).length === 0 confirms it is empty. In Python, json.loads("{}") returns an empty dict and len({}) === 0. Empty objects and arrays are semantically different from null: null means absence of a value, while {} means an empty collection.
🌐
jsonic.io
jsonic.io › home › guides › json examples
JSON Examples — Objects, Arrays, Nested Structures | Jsonic
How do I represent a list of users in JSON?
Use an array of objects, where each object represents one user: [{"id": 1, "name": "Alice", "email": "alice@example.com", "role": "admin"}, {"id": 2, "name": "Bob", "email": "bob@example.com", "role": "user"}]. If the list is part of a larger response, nest it under a key: {"users": [{"id": 1, "name": "Alice"}, {"id": 2, "name": "Bob"}], "total": 2}. Each user object should include all the fields needed by the consumer. For large user lists, add pagination metadata: page, perPage, total, and hasNext fields alongside the data array.
🌐
jsonic.io
jsonic.io › home › guides › json examples
JSON Examples — Objects, Arrays, Nested Structures | Jsonic
How do I represent nested addresses in JSON?
Nest address data as an object within the parent record: {"user": {"name": "Alice", "billingAddress": {"street": "123 Main St", "city": "New York", "state": "NY", "zip": "10001", "country": "US"}, "shippingAddress": {"street": "456 Oak Ave", "city": "Brooklyn", "state": "NY", "zip": "11201", "country": "US"}}}. For APIs that reuse the same address shape in multiple places, define a consistent address schema and always include the same fields (even if some are null) to make processing predictable. Include a country code so the address can be formatted correctly for different regions.
🌐
jsonic.io
jsonic.io › home › guides › json examples
JSON Examples — Objects, Arrays, Nested Structures | Jsonic
🌐
W3Schools
w3schools.com › js › js_json_server.asp
W3Schools.com
Typed Arrays Typed Methods Typed Reference Array Buffers DataViews JS Atomics JS DOM Navigation · DOM Navigation DOM Nodes DOM Collections DOM Node Lists JS Graphics · JS Graphics JS Canvas JS Plotly JS Chart.js JS Google Chart JS D3.js ... AJAX Intro AJAX XMLHttp AJAX Request AJAX Response AJAX XML File AJAX PHP AJAX ASP AJAX Database AJAX Applications AJAX Examples JS jQuery · jQuery Selectors jQuery HTML jQuery CSS jQuery DOM JS JSONP
🌐
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.
🌐
GeeksforGeeks
geeksforgeeks.org › javascript › what-is-json-array
What is JSON Array? - GeeksforGeeks
July 23, 2025 - Example: Here we assign a JSON Array of Booleans to the key boolean in jsonBooleanArray 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.
🌐
RestfulAPI
restfulapi.net › home › json › json array
Multi-dimensional Array in JSON - REST API Tutorial
November 4, 2023 - { "name" : "Admin", "age" : 36, "rights" : [ "admin", "editor", "contributor" ] } You can access the array values by using the index number: ... Program output. ... Program output.
🌐
Jsonic
jsonic.io › home › guides › json examples
JSON Examples — Objects, Arrays, Nested Structures | Jsonic
May 11, 2026 - An array of product objects each with id, name, price, category, inStock, and optional tags. Use a consistent price format (number + currency field) and include the same fields in every product for predictable processing.
🌐
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 - This structure is both flexible ... objects (Python list of dicts) users = [ { "name": "Alice", "active": True }, { "name": "Bob", "active": False }, { "name": "Carol", "active": True } ] # 1....
🌐
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.
🌐
JSON Schema
json-schema.org › understanding-json-schema › reference › array
JSON Schema - array
In Python, "array" is analogous to the list or tuple type, depending on usage. However, the json module in the Python standard library will always use Python lists to represent JSON arrays. ... List validation: a sequence of arbitrary length where each item matches the same schema.
🌐
JSON Editor Online
jsoneditoronline.org › home › datasets › json-file-example
Exploring the power of JSON: a real-life JSON file example collection
July 25, 2023 - In the following example you see a JSON object containing a list with friends. Each friend is an object, and this object again contains a nested array with the friend’s hobbies.
🌐
Example Code
example-code.com › asp › json_array_of_objects.asp
Classic ASP JSON: Array of Objects
Chilkat • HOME • Android™ • AutoIt • C • C# • C++ • Chilkat2-Python • CkPython • Classic ASP • DataFlex • Delphi DLL • Go • Java • Node.js • Objective-C • PHP Extension • Perl • PowerBuilder • PowerShell • PureBasic • Ruby • SQL Server • Swift • Tcl • Unicode C • ...
🌐
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.
🌐
JAXB
javaee.github.io › tutorial › jsonp001.html
Introduction to JSON
JSON has the following syntax. Objects are enclosed in braces ({}), their name-value pairs are separated by a comma (,), and the name and value in a pair are separated by a colon (:). Names in an object are strings, whereas values may be of any of the seven value types, including another object or an array.
🌐
JSON Schema
json-schema.org › learn › miscellaneous-examples
JSON Schema - Miscellaneous Examples
The data example shows the usage of arrays. The fruits property contains an array of strings, while the vegetables property contains an array of objects, each adhering to the "veggie" schema definition.
🌐
IBM
ibm.com › docs › en › datapower-gateway › 10.6.0
JSON examples
JSON objects and arrays can be transformed with transform actions. The following examples and the examples in the related topics, provide sample JSON objects and arrays and transformations of those objects and arrays. These examples demonstrate some JSON message processing that the DataPower ...