Fulcrum/test/json/fail39_pass_sj.json
Calin Culianu 9032b28882
Updated --test json to test simdjson backend as well (if available)
Also backported tests from our stand-alone Json lib to tolerate subtle
differences between simdjson and our backend.  The differences are
really minor:

1. simdjson tolerates invalid unicode codepoint escapes (\udd6a) whereas our
   lib is more restrictive.
2. simdjson has a maximum nesting level of 1024 and our lib has 512.

In either case these subtleties are not a problem in practice -- just that the
tests needed to be updated to tolerate these differences.
2020-11-07 11:15:44 +02:00

1 line
226 B
JSON

["\udd61 <-- the reason this fails on our lib but passes on simdjson is becasue simdjson implements the JSON RFC quirks that our lib rejects. This codepoint is technically forbidden but JSON RFC allows for it. This is fine."]