# Read data on nested json in visualizer

**URL:** <https://community.postman.com/t/read-data-on-nested-json-in-visualizer/23204>\
**Category:** Help Hub\
**Tags:** tests\
**Created:** [April 28, 2021, 3:15pm UTC](https://community.postman.com/t/read-data-on-nested-json-in-visualizer/23204 "2021-04-28T15:15:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![satellite-geoscienti](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@satellite-geoscienti](https://community.postman.com/u/satellite-geoscienti)\
**Post date:** [April 28, 2021, 3:15pm UTC](https://community.postman.com/t/read-data-on-nested-json-in-visualizer/23204/1 "2021-04-28T15:15:53Z")

</div>

I am trying to parse nested JSON data.

My JSON value looked like below:

```
{
"errorCode": 0,
"msg": null,
"result": {
    "totalRows": 451,
    "queryData": {
        "currentPage": 1,
        "currentPageSize": 1,
        "sortName": "",
        "sortOrder": "desc",
        "searchKey": "",
        "filters": {
            "startTime": 1440000
        }
    },
    "data": [
        {
            "id": "608960f8ef11210677048bc8",
            "voucherCode": "1001674712",

        }
    ]
}

```

}

I have already tried the following but I got no response on visualizer:

```
{{#each response.result}}
            {{#each data}}
                {{this.voucherCode}}
          {{/each}}  
        {{/each}}

```

 ![image](https://us1.discourse-cdn.com/getpostman/original/3X/6/7/67e1e79aa9b2dec1c1f38371afa20c8bdf32e516.png)

---

<div class="post-metadata">

**Author:** ![satellite-geoscienti](https://avatars.discourse-cdn.com/v4/letter/s/ac8455/32.png) [@satellite-geoscienti](https://community.postman.com/u/satellite-geoscienti)\
**Post date:** [April 28, 2021, 3:31pm UTC](https://community.postman.com/t/read-data-on-nested-json-in-visualizer/23204/2 "2021-04-28T15:31:51Z")

</div>

All good, this did the job 🤦‍♂️

```
 {{#each response.result.data}}
                {{this.voucherCode}}1
        {{/each}}
```

---

<div class="post-metadata">

**Author:** ![bpricilla](https://sea2.discourse-cdn.com/getpostman/user_avatar/community.postman.com/bpricilla/32/6511_2.png) [@bpricilla](https://community.postman.com/u/bpricilla)\
**Post date:** [April 29, 2021, 12:26am UTC](https://community.postman.com/t/read-data-on-nested-json-in-visualizer/23204/3 "2021-04-29T00:26:52Z")

</div>

@satellite-geoscienti Welcome to the Community 💐

Perfect, thanks for sharing the working snippet too 🥳
