JSON & BSON Encoding/Decoding
Do JSON and BSON encoding and decoding in C land.
JsonDecode(string) : tableJsonEncode(table) : string BsonDecode(data) : tableBsonEncode(table) : data
Example
Encode a table into JSON and BSON.
local object = { foo: "bar", baz: 123 }local json = JsonEncode(object)local bson = BsonEncode(object)