CC: Tweaked

CC: Tweaked

42M Downloads

[Feature Request] add `textutils.json_empty_array` for `textutils.serializeJSON`

zyxkad opened this issue ยท 1 comments

commented

Why we need it

textutils.serializeJSON will serialize empty lua table as empty json object "{}", but I want it to serialize it as "[]", then another language like java or go can deserialize it correctly.
Then we need this like json_null

commented

well, the name is confuse, it's already exists at textutils.empty_json_array lol