# Retrieving Json data

**URL:** <https://community.postman.com/t/retrieving-json-data/34742>\
**Category:** Help Hub\
**Created:** [April 25, 2022, 3:45pm UTC](https://community.postman.com/t/retrieving-json-data/34742 "2022-04-25T15:45:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![marcozani](https://avatars.discourse-cdn.com/v4/letter/m/9de0a6/32.png) [@marcozani](https://community.postman.com/u/marcozani)\
**Post date:** [April 25, 2022, 3:45pm UTC](https://community.postman.com/t/retrieving-json-data/34742/1 "2022-04-25T15:45:53Z")

</div>

Hi Newbie here

Im trying to get the bay 2170422222 from the json response below any help would be greatly appreciated

{  
“Content”: {  
“2021-02-22”: {  
“area1”: [  
{  
“TimeSlot”: 1,  
“AppointmentLength”: 0,  
“Bay”: 2170422222  
},

---

<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 26, 2022, 6:08am UTC](https://community.postman.com/t/retrieving-json-data/34742/2 "2022-04-26T06:08:21Z")

</div>

@marcozani Welcome to the community 🥳

We totally get your situation. Once you learn about JSON parsing should be easier.

I see that you response in incomplete.

Wild guess would be:

```auto
 var jsonData = pm.response.json();
console.log( jsonData.Content.area1[0].Bay);
pm.globals.set("bay", jsonData.Content.area1[0].Bay);

```

Try [this tool](https://jsonpathfinder.com/), until you are familiarize with JSON and arrays. I wrote a [blog](https://medium.com/p/647549ee8b2), read if you are interested 😊
