# Get Json data (json array)

**URL:** <https://community.thunkable.com/t/get-json-data-json-array/408099>\
**Category:** Questions about Thunkable X\
**Tags:** json\
**Created:** [January 14, 2020, 8:46pm UTC](https://community.thunkable.com/t/get-json-data-json-array/408099 "2020-01-14T20:46:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pop\_Gheorghe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pop_gheorghe/32/20648_2.png) [@Pop\_Gheorghe](https://community.thunkable.com/u/Pop_Gheorghe)\
**Post date:** [January 14, 2020, 8:46pm UTC](https://community.thunkable.com/t/get-json-data-json-array/408099/1 "2020-01-14T20:46:21Z")

</div>

Hi,  
I’m having below Json data.  
`{"id”:”xxxxxxxxxxxxxxxxxxxxxxxx”,”app_id":"xxxxxxxxxxxxxxxxxxxxxxx","email":"xxxxxxxxxxxxxxxxxxxxxxx","token":"xxxxxxxxxxxxxxxxxxxxxxx","pubkeys":{"123456789a":{},"123456789b":{}},"created_at":"2019-11-21T18:53:37.91726401Z","updated_at":"2020-01-14T20:18:59.453628658Z"}`

 ![Captură](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/e/fe770bd3ff061f0f12d086b24cc53f1c9a5895fa.png)  
What is the easy way to get the keys contained by pubkey?

In the end I should have a list that contains:  
123456789a  
123456789b

Any help is appreciated.  
Thanks.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [January 15, 2020, 8:46am UTC](https://community.thunkable.com/t/get-json-data-json-array/408099/2 "2020-01-15T08:46:24Z")

</div>

Hi,

Sample on scrJSON

[https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/](https://x.thunkable.com/projects/5d70f93f8a62b4079eedaff2/project/properties/designer/)

---

<div class="post-metadata">

**Author:** ![Pop\_Gheorghe](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/pop_gheorghe/32/20648_2.png) [@Pop\_Gheorghe](https://community.thunkable.com/u/Pop_Gheorghe)\
**Post date:** [January 15, 2020, 12:52pm UTC](https://community.thunkable.com/t/get-json-data-json-array/408099/3 "2020-01-15T12:52:40Z")

</div>

@actech thanks for feedback.  
Maybe I was not clear in my original question. What I need to get is to get the key names not their values.  
I updated original post also with a picture showing the JSON file.  
I know how to do it by taking this string from pubkey:{“123456789a”:{},“123456789b”:{}} and then:  
1.remove from this " -\>{123456789a:{},123456789b:{}}  
2.remove first char and last 4 chars-\>123456789a:{},123456789b  
3.split it into a list by “:{},”  
-\>123456789a  
-\>123456789b

I tought there is a diferent way/more easy way to do this.

---

<div class="post-metadata">

**Author:** ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)\
**Post date:** [January 15, 2020, 3:21pm UTC](https://community.thunkable.com/t/get-json-data-json-array/408099/4 "2020-01-15T15:21:47Z")

</div>

On my screen, there is a “Complex” button that displays a list of keys when clicked. And for this purpose, the “get object properties of” block is used.

In order not to mislead you, I changed the label “Complex” on the button to “Get keys”.

---

<div class="post-metadata">

**Author:** ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)\
**Post date:** [November 8, 2024, 11:45am UTC](https://community.thunkable.com/t/get-json-data-json-array/408099/5 "2024-11-08T11:45:58Z")

</div>


