e2 docs serialization - wiremod/wire GitHub Wiki
Serialization
= vonEncode(
Data)
Encodes an array into a string using vON (10 ops)
= vonEncode(
Data)
Encodes a table into a string using vON (10 ops)
= vonDecode(
Data)
Decodes a string into an array using vON (10 ops)
= vonError()
Returns the last von error (1 ops)
= vonDecodeTable(
Data)
Decodes a string into a table using vON (25 ops)
= jsonError()
Returns the last json error (1 ops)
= jsonEncode(
Data)
Encodes a table into a string using json (50 ops)
= jsonEncode(
Data,
Prettyprint)
Encodes a table into a string using json (50 ops)
= jsonDecode(
Data)
Decodes a string into an array using json (50 ops)