|
| 01 Jun 2015 11:41 AM |
I'm trying to convert several json_encode()'d strings back to JSON, however I keep getting the error: Can't convert to JSON
I'm using string manipulation to break down the tables into seperate parts, and this is an example of what I recieve once they have been broken down: {"_id":1,"Alt":false} {"_id":2,"Alt":true} ------------------- If you're interested: for a in string.gmatch(x, "%{.-}") do table.insert(tab, Http:JSONEncode(a)) end -------------------
Any help? |
|
|
| Report Abuse |
|
|
| 01 Jun 2015 11:44 AM |
| Are you trying to decode or encode them? |
|
|
| Report Abuse |
|
| |