mirror of
https://github.com/cculianu/Fulcrum.git
synced 2026-08-14 12:43:27 +02:00
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.
1 line
226 B
JSON
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."]
|