Search found 2 matches

by doger31
Friday 25 October 2019 7:56
Forum: dzVents
Topic: Lua pull from json [Solved]
Replies: 1
Views: 1095

Re: Lua pull from json [Solved]

I managed to resolve my issue.
After i added:
local json = domoticz.utils.fromJSON(item.data)

I am able to index through the table. (json["Global Quote"]["05. price"])
by doger31
Wednesday 23 October 2019 18:26
Forum: dzVents
Topic: Lua pull from json [Solved]
Replies: 1
Views: 1095

Lua pull from json [Solved]

I am looking for help with the json api answer: { "Global Quote": { "01. symbol": "GLG", "02. open": "0.4780", "03. high": "0.4800", "04. low": "0.4650", "05. price": "0.4760", "06. volume": "14183", "07. latest trading day": "2019-10-23", "08. previous close": "0.4754", "09. change": "0.0006", "10 ...