Files
json/docs/mkdocs
Niels Lohmann 43a346cf99 Read BON8 strings in bulk from contiguous input
- copy the valid UTF-8 of a string in one step when the input is
  contiguous (twitter.json is read in 1.68 instead of 2.52 ms,
  jeopardy.json in 196 instead of 297 ms, close to CBOR and MessagePack)
- share the new valid_utf8_prefix() with the writer's UTF-8 check, which
  now skips ASCII 8 bytes at a time
- let the fuzzer check that contiguous and stream input give the same
  value or error, and test both paths in the unit tests
- clarify that a second 0xFF after a string is an empty string

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
2026-09-25 22:06:54 +02:00
..
2026-09-24 22:53:08 +02:00
2025-01-18 23:20:45 +01:00
2026-09-25 20:11:51 +02:00