JSON encoding and decoding
This module is based partially on code from the previous incarnation of Mjolnir by Steven Degutis.
| Signature | hs.json.decode(jsonString) -> table |
|---|---|
| Type | Function |
| Description | Decodes JSON into a table Parameters:
Returns:
Notes:
|
| Signature | hs.json.encode(val[, prettyprint]) -> string |
|---|---|
| Type | Function |
| Description | Encodes a table as JSON Parameters:
Returns:
Notes:
|