#HttpService:JSONEncode(table: table) → string
since 1.6.9-1-alpha
Encodes a Luau table as a JSON string. Arrays (consecutive integer keys starting at 1) are encoded as JSON arrays; string-keyed tables become JSON objects; empty tables encode as [].
Parameters
| table | table | The table to encode. |
Errors
- VMException read failure -- Failed to read backing memory while executing this method.