Here's a sample string:
- Code: Select all
{"ok":{"d":"sun","h":19,"m":22},"id":1"}}
- Code: Select all
{"ok":{"flags":0,"cycle":"none","phase":"charge","pos":{"theta":-90,"point":{"x":-495,"y":792}},"batPct":96,"expireM":0,"rechrgM":0,"error":0,"notReady":0,"mssnM":514,"sqft":999},"id":1"}}
Regardless, they all fail with this error:
- Code: Select all
Error: Parse error on line 21:
...": 999 }, "id": 1 "}}
---------------------^
Expecting 'EOF', '}', ',', ']', got 'undefined'