mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 22:04:21 +00:00
Closes #16861 Using `alloc_if_needed` when parsing a `Value` allows receiving a token which points to the buffer of the underlying `Reader`. This token will no longer be valid after the `Reader`'s buffer is refilled, which will happen with large values. Using `alloc_always` avoids this issue by ensuring the returned tokens always own their data independently of the underlying buffer. |
||
|---|---|---|
| .. | ||
| dynamic.zig | ||
| dynamic_test.zig | ||
| hashmap.zig | ||
| hashmap_test.zig | ||
| JSONTestSuite_test.zig | ||
| scanner.zig | ||
| scanner_test.zig | ||
| static.zig | ||
| static_test.zig | ||
| stringify.zig | ||
| stringify_test.zig | ||
| test.zig | ||