mirror of
https://github.com/SquidDev-CC/CC-Tweaked
synced 2025-11-02 06:32:59 +00:00
Fixed typo in docstring of textutils.serializeJSON (#2260)
This commit is contained in:
@@ -864,7 +864,7 @@ values do not serialise cleanly into JSON.
|
||||
A consequence of this is that an empty table will always be serialised to an object,
|
||||
not an array. [`textutils.empty_json_array`] may be used to express an empty array.
|
||||
|
||||
- Lua strings are an a sequence of raw bytes, and do not have any specific encoding.
|
||||
- Lua strings are a sequence of raw bytes, and do not have any specific encoding.
|
||||
However, JSON strings must be valid unicode. By default, non-ASCII characters in a
|
||||
string are serialised to their unicode code point (for instance, `"\xfe"` is
|
||||
converted to `"\u00fe"`). The `unicode_strings` option may be set to treat all input
|
||||
|
||||
Reference in New Issue
Block a user