# Problem reading i json-string

**URL:** <https://community.homey.app/t/problem-reading-i-json-string/94164>\
**Category:** Flows\
**Created:** [November 9, 2023, 1:30pm UTC](https://community.homey.app/t/problem-reading-i-json-string/94164 "2023-11-09T13:30:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 9, 2023, 1:30pm UTC](https://community.homey.app/t/problem-reading-i-json-string/94164/1 "2023-11-09T13:30:11Z")

</div>

I have i json-string that i want homey to read, but its not consistent.

the string is

```auto
{
	"Temperature": {
			"870000042FD3A828": 19.2500,
			"BB000002D6514A28": 17.6875,
			"E6000002D639BA28": 16.0000,
			"FB00000399392628": 16.0000,
			"1500000399553128": 18.9375,
			"B6000002D6787F28": 17.3125,
			"90000002D6875C28": 18.8750,
			"A1000002D63E1728": 19.3125,
			"940000039943CF28": 16.2500
			}
		
	}

```

and i get error on three of the rows

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/6/96f3a2bb652a2ec232b82cff8c03ebfd48144157.png)

The error message for the tree are

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/7/2/72426503388e1d13e1f880c5e5d2dd6e1054ac40.png)

Anyone have a cue whats wrong?

---

<div class="post-metadata">

**Author:** ![Rmb](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rmb/32/79135_2.png) [@Rmb](https://community.homey.app/u/Rmb)\
**Post date:** [November 9, 2023, 1:33pm UTC](https://community.homey.app/t/problem-reading-i-json-string/94164/2 "2023-11-09T13:33:29Z")

</div>

Delete the ones that show an error, and add the other ones one by one.

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [November 9, 2023, 1:51pm UTC](https://community.homey.app/t/problem-reading-i-json-string/94164/3 "2023-11-09T13:51:46Z")

</div>

> [@janrikard](#):
>
> Anyone have a cue whats wrong?

Try `Temperature['87000etc']`

It’s very consistent: the ones that are failing is where the part after `Temperature.` starts with a digit.

---

<div class="post-metadata">

**Author:** ![janrikard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/janrikard/32/34785_2.png) [@janrikard](https://community.homey.app/u/janrikard)\
**Post date:** [November 9, 2023, 1:59pm UTC](https://community.homey.app/t/problem-reading-i-json-string/94164/4 "2023-11-09T13:59:33Z")

</div>

Thank you @robertklep

That helped

You are a genuis with eyes

Thanks @Rmb to for your time

/Rikard
