# JSON Parsing not behaving

**URL:** <https://community.thunkable.com/t/json-parsing-not-behaving/61258>\
**Category:** Questions about Thunkable X\
**Created:** [December 18, 2018, 9:03pm UTC](https://community.thunkable.com/t/json-parsing-not-behaving/61258 "2018-12-18T21:03:22Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [December 18, 2018, 9:03pm UTC](https://community.thunkable.com/t/json-parsing-not-behaving/61258/1 "2018-12-18T21:03:22Z")

</div>

I have the following JSON

{  
“faces1”: [  
{  
“face\_rectangle”: {  
“width”: 193,  
},  
“face\_token”: “c17b164f9b697b1ac174c86ab330ae0d”  
}  
],  
“faces2”: [  
{  
“face\_rectangle”: {  
“width”: 210,  
},  
“face\_token”: “1ed4e198ff26fca77011a980ca83ca01”  
}  
],  
“time\_used”: 2048,  
}

I need to extract both tokens and time used.

This is what I am trying to use for token1. And it is not returning. Can someone give me a pointer of where I am wrong, and how would I get the time\_used. I have tried all sorts of combinations.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/3/8/38d2b223789bd41a814da4ba1485347cb282c37b.png)

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [December 19, 2018, 7:32pm UTC](https://community.thunkable.com/t/json-parsing-not-behaving/61258/2 "2018-12-19T19:32:34Z")

</div>

I tried the “first occurence” block and it did not work. Any ideas?

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [December 19, 2018, 8:07pm UTC](https://community.thunkable.com/t/json-parsing-not-behaving/61258/3 "2018-12-19T20:07:44Z")

</div>

For some reason it works now.

 ![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/7/8/7846ba996ffc0506a9d2c99eef14997816a8bf34.png)

---

<div class="post-metadata">

**Author:** ![Cian\_O\_Sullivan](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/cian_o_sullivan/32/34494_2.png) [@Cian\_O\_Sullivan](https://community.thunkable.com/u/Cian_O_Sullivan)\
**Post date:** [December 19, 2018, 11:59pm UTC](https://community.thunkable.com/t/json-parsing-not-behaving/61258/4 "2018-12-19T23:59:53Z")

</div>

Ok so there are times when the JSON wont parse properly. It appears to be a bug of some sort. I am trying a few things to narrow down what and why.

---

<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:52am UTC](https://community.thunkable.com/t/json-parsing-not-behaving/61258/6 "2024-11-08T11:52:17Z")

</div>


