| |
|
| 09 Feb 2015 09:44 AM |
| Encode tables to JSON format and Decode is to decode a JSON into a Table tha |
|
|
| Report Abuse |
|
| |
|
| 09 Feb 2015 10:49 AM |
JSON: JavaScript Object Notation
The way JavaScript's objects are represented is a very nice structure to store data. Therefore, many people have adopted the same style to store data sets.
For instance, if you had a Lua table that you wanted to save, you cannot just save the table itself. A database isn't going to understand that. Instead, you turn the table into a String value. Therefore, you convert the table into "JSON" which represents the table in string format.
I recommend googling JSON and reading up on it to get a better understanding. It's used heavily in web development too as an alternative to XML. |
|
|
| Report Abuse |
|