fwd/resources/json/README.md
John Doty 8a60f89110 Fix small JSON bugs, bring in test suite
Just decided to "harden" the JSON parser a little bit with the test
suite from https://github.com/nst/JSONTestSuite. Now I'm pretty sure
that we can handle whatever JSON docker throws at us.
2024-08-06 09:22:11 -07:00

14 lines
596 B
Markdown

# Test JSON
This directory contains test JSON files from https://github.com/nst/JSONTestSuite as of commit 984defc.
It only has the positive and questionable JSON inputs, as our JSON parser is extremely forgiving, by design.
## Filtered tests
Some of the questionable tests have been removed:
- `i_structure_UTF-8_BOM_empty_object.json` removed because we don't handle BOMs.
- `i_string_utf16LE_no_BOM.json` removed because we don't speak UTF16.
- `i_string_utf16BE_no_BOM.json` removed because we don't speak UTF16.
- `i_string_UTF-16LE_with_BOM.json` removed because we don't speak UTF16.