# How to change the property of a nested object

**URL:** <https://community.thunkable.com/t/how-to-change-the-property-of-a-nested-object/2137940>\
**Category:** Questions about Thunkable X\
**Created:** [November 18, 2022, 3:36pm UTC](https://community.thunkable.com/t/how-to-change-the-property-of-a-nested-object/2137940 "2022-11-18T15:36:37Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![tatiang](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/tatiang/32/55482_2.png) [@tatiang](https://community.thunkable.com/u/tatiang)\
**Post date:** [November 18, 2022, 7:06pm UTC](https://community.thunkable.com/t/how-to-change-the-property-of-a-nested-object/2137940/6 "2022-11-18T19:06:47Z")

</div>

> [@rehoboth75](#):
>
> ```auto
> {"1":{"CZT":"00:00","LegTimeMinutes":0,"critique":"None","headingDegrees":999,"openTime":"00:00","typeWP":"Not yet specified","useCZT":false,"useHeading":false,"useOpenTime":false,"wpLatitude":40.123456,"wpLongitude":-89.123456,"wpPenalty":100},"2":{"CZT":"00:00","LegTimeMinutes":0,"critique":"None","headingDegrees":999,"openTime":"00:00","typeWP":"Not yet specified","useCZT":false,"useHeading":false,"useOpenTime":false,"wpLatitude":40.223456,"wpLongitude":-89.223456,"wpPenalty":100},"3":{"CZT":"00:00","LegTimeMinutes":0,"critique":"None","headingDegrees":999,"openTime":"00:00","typeWP":"Not yet specified","useCZT":false,"useHeading":false,"useOpenTime":false,"wpLatitude":40.323456,"wpLongitude":-89.323456,"wpPenalty":100},"4":{"CZT":"00:00","LegTimeMinutes":0,"critique":"None","headingDegrees":999,"openTime":"00:00","typeWP":"Not yet specified","useCZT":false,"useHeading":false,"useOpenTime":false,"wpLatitude":40.423456,"wpLongitude":-89.423456,"wpPenalty":100},"adminPassword":"","cztOffset":0,"dateOfEvent":"11/17/2022","maxScore":300,"registrationPassword":"abc","timingUnit":"Hundredths","CZT":"10:00"}
> 
> ```

It was not formatted as pre-formatted text so it failed when I tried to format it but I just edited your post to format is properly and now you can paste that same text into [Best JSON Viewer and JSON Beautifier Online](https://codebeautify.org/jsonviewer) to see the data structure:

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

When I click on the CZT key, it shows the path to that value at the top (object → 1 → CZT). So in Thunkable, you would set the property “[1].CZT” or set the property “CZT” of the first list item in the object.

I haven’t set JSON properties before so if it were me, I’d make sure I can **get** that key value (“CZT”) before attempting to set it to something else.

You can find out more by watching my tutorial video here: [API JSON Tutorial (Video)](https://community.thunkable.com/t/api-json-tutorial-video/1140575).

---

_[View the full topic](https://community.thunkable.com/t/how-to-change-the-property-of-a-nested-object/2137940)._
