Certain invalid JSON is accepted by HttpService:JSONDecode

The following JSON files contain invalid JSON (per RFC 8259) and shouldn’t be accepted by the parser, but Roblox studio does not return a Lua error when they are passed to HttpService:JSONDecode and accepts them.

Expected result: Lua error - Not valid JSON.
Actual result: No error, table returned.

multidigit_number_then_00.json (4 Bytes)
structure_incomplete_UTF8_BOM.json (4 Bytes)

7 Likes

Thanks for the report! We’ve filed a ticket to our internal database and we’ll follow up here when we have an update for you.

I am in the process of checking over bug reports and following up on some bugs that haven’t received any activity in a while.
Is this issue still occurring or can you confirm that this bug has been resolved?