#1 15693048 23 May 2016 08:54 rafik73 rafik73 Level 13 Posts: 473 Rate: 13 » | Topic author Post #1 15693048 23 May 2016 08:54 How can I receive and display JSON data sent from a local server? I am talking about a script in lua fired on ESP8266 version 01. Ultimately I want to display this data on a 2x16 lcd connected to the ESP8266 via i2c.
#2 15696427 24 May 2016 18:55 rafik73 rafik73 Level 13 Posts: 473 Rate: 13 » | Topic author Helpful post? (0) Post #2 15696427 24 May 2016 18:55 I have such a listing in lua: Code: C / C++Log in, to see the code which when run on the ESP throws up: {"lowVersion":1, "highVersion":3} and it's OK, it's valid JSON data. Then I try: Code: C / C++Log in, to see the code throws out: test.lua:10: Expected value but found invalid token at character 1 How to display a single value "lowVersion" or "highVersion" I want to save them as variables.