daphee, on 20 June 2014 - 04:09 PM, said:
This time it fails to decode this string
{"success":true,"code":0,"error":"","data":{"clientId":"testClient","requestId":"1","data":{"method":"get_redstone","side":"right"}}}It fails with "json:167: attempt to index ? (a nil value)"
Fixed it! The issue was the empty string. It failed to handle that properly. Not sure why the pattern I used before didn't work with it but the new one does.
Edited by ElvishJerricco, 21 June 2014 - 09:48 AM.