# Get object not giving JSON

**URL:** <https://community.thunkable.com/t/get-object-not-giving-json/854095>\
**Category:** Questions about Thunkable X\
**Tags:** beginner, json\
**Created:** [September 27, 2020, 9:42pm UTC](https://community.thunkable.com/t/get-object-not-giving-json/854095 "2020-09-27T21:42:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![derrickbush19991](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@derrickbush19991](https://community.thunkable.com/u/derrickbush19991)\
**Post date:** [September 27, 2020, 9:42pm UTC](https://community.thunkable.com/t/get-object-not-giving-json/854095/1 "2020-09-27T21:42:10Z")

</div>

I am trying to get load in and save a JSON response to my app. The json response looks like {“date”:“3”,“name”:“cookies”,“time”:“30”} however when I run the app I just get undefined.

![image](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/2/f/2f1e64b515dc1d816e1a82d4acd4237bdf52e56d.png)

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [September 27, 2020, 10:01pm UTC](https://community.thunkable.com/t/get-object-not-giving-json/854095/2 "2020-09-27T22:01:47Z")

</div>

Try converting the Response into a JSON object using the “get object from JSON” block.

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

---

<div class="post-metadata">

**Author:** ![derrickbush19991](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@derrickbush19991](https://community.thunkable.com/u/derrickbush19991)\
**Post date:** [September 27, 2020, 10:08pm UTC](https://community.thunkable.com/t/get-object-not-giving-json/854095/3 "2020-09-27T22:08:25Z")

</div>

That works however I didn’t realize that [{“date”:“3”,“name”:“cookies”,“time”:“30”},{“date”:“3”,“name”:“brownies”,“time”:“60”}] would require a different method.

---

<div class="post-metadata">

**Author:** ![drted](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/drted/32/92694_2.png) [@drted](https://community.thunkable.com/u/drted)\
**Post date:** [September 27, 2020, 10:31pm UTC](https://community.thunkable.com/t/get-object-not-giving-json/854095/4 "2020-09-27T22:31:04Z")

</div>

You still use get object from JSON, but the result is a list of objects. You can treat that list just like any other (For each Object in List…)

---

<div class="post-metadata">

**Author:** ![derrickbush19991](https://avatars.discourse-cdn.com/v4/letter/d/c37758/32.png) [@derrickbush19991](https://community.thunkable.com/u/derrickbush19991)\
**Post date:** [September 27, 2020, 10:37pm UTC](https://community.thunkable.com/t/get-object-not-giving-json/854095/5 "2020-09-27T22:37:37Z")

</div>

Thank you for your help! This worked

---

<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, 12:23pm UTC](https://community.thunkable.com/t/get-object-not-giving-json/854095/6 "2024-11-08T12:23:47Z")

</div>


