1
0
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:
Zirunis
2025-08-08 11:45:46 +02:00
committed by GitHub
parent 5a9e21ccc3
commit 9e233a916f

View File

@@ -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