Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.
Accessing array elements by index in Smart Markers (a feature in programming tools or languages, often used for data binding or templating) is fundamental for precision, efficiency, and simplicity.
Aspose.Cells supports accessing array elements by index in Smart Markers. Please check the template file, the JSON file, and the screenshot of the output Excel file generated with the following code.
| The first worksheet of the smartmarker.xlsx file showing smart markers. |
|---|
![]() |
| The screenshot of the output Excel file. |
|---|
![]() |
JSON data as follows:
{
"EntityCin": "EntityCin Test",
"EntityName": "EntityName Test",
"FirstName": "FirstName Test",
"MiddleName": "MiddleName Test",
"LastName": "LastName Test",
"DOB": "2025-02-08",
"SSN": "11111111",
"Directors": [
{
"id": "director id 1",
"FirstName": "director first 1",
"MiddleName": "director middle 1",
"LastName": "director last 1",
"Reportees": [
{
"id": "aaa",
"FirstName": "first aaa",
"MiddleName": "middle aaa",
"LastName": "last aaa",
"Department": "aaa department",
"City": "aaa city",
"GST": "Yes",
"ITR": "No"
},
{
"id": "bbb",
"FirstName": "first bbb",
"MiddleName": "middle bbb",
"LastName": "last bbb",
"Department": "bbb department",
"City": "bbb city",
"GST": "Yes",
"ITR": "Yes"
},
{
"id": "ccc",
"FirstName": "first ccc",
"MiddleName": "middle ccc",
"LastName": "last ccc",
"Department": "ccc department",
"City": "ccc city",
"GST": "No",
"ITR": "No"
}
]
},
{
"id": "director id 2",
"FirstName": "director first 2",
"MiddleName": "director middle 2",
"LastName": "director last 2",
"Reportees": [
{
"id": "eee",
"FirstName": "first eee",
"MiddleName": "middle eee",
"LastName": "last eee",
"Department": "eee department",
"City": "eee city",
"GST": "Yes",
"ITR": "No"
},
{
"id": "fff",
"FirstName": "first fff",
"MiddleName": "middle fff",
"LastName": "last fff",
"Department": "fff department",
"City": "fff city",
"GST": "No",
"ITR": "No"
}
]
}
]
}
The example that follows shows how this works.
Analyzing your prompt, please hold on...
An error occurred while retrieving the results. Please refresh the page and try again.