This library will encode/decode common serialization formats. The first two formats being added are JSON and CSV. Other formats such as XML may be added later. I was surprised no such library already exists (as far as I could tell) as I plan on using JSON and CSV in one of my other addons so thought it'd be useful to put this in its own library.
The JSON functions are a modified version of a publicly available, MIT licensed Lua JSON library (http://www.chipmunkav.com/downloads/Json.lua).
CSV support was introduced with v1.0.
Encodes the passed lua table into a JSON string.
Decodes the passed JSON string into a lua table.
Returns a reference to the table used to represent NULL.
Encodes the passed data as CSV with the passed keys.
Decodes the passed CSV string into keys / data.
- 2 comments
Table of contents
- Date created
- Jun 05, 2012
- Last update
- Aug 15, 2014
- Development stage
- MIT License
- Reverse relationships
- Recent files
- Embedded library