Repository navigation
json v0.4.2 moves the library to Mojo 1.2.0 and MAX 26.7.
- The Mojo pin is now
>=1.2.0,<2.0.0. max-corestays optional (GPU path only) and is constrained to==26.7.mojodocis pinned tov0.1.2andmozztov0.2.2.- CI uses
prefix-dev/setup-pixiv0.11.2 with pixi v0.83.0. - Mojo 1.2 fixes:
std.hashlibis nowstd.hash;CStringSpan.ptr()no longer compiles, so the nul-terminated call sites (strtodand the simdjson parse) take the pointer from theString; and the no-op^transfers that Mojo 1.2 warns about are gone, sowarnings-checkis clean. - Includes the parsing performance work merged since v0.4.1: tape strings are serialized and keys matched without allocating, the tape is built in one FFI call on a per-thread parser, and the tape symbols are resolved once per process.
There are no API changes.
Full Changelog: v0.4.1...v0.4.2