authorgravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-03 21:52:07 -07:00
committergravatar for hello@nektro.netMeghan Denny <hello@nektro.net> 2026-06-03 21:58:43 -07:00
logea65d770e41a2a7f4818de7a290b333da57c5c94
tree66887d3e9daeab0aea3d71cf22f9cd90d582d3d4
parent88adecd0f9a6e2fd9de65d0f1852bbde1e183590
signaturebadge-check Signed by SSH key SHA256:4hHJbtBRU58AYXwjL7fkz2fnQHdiye8x1QpTCQ0sHNw

update to zig 0.16.0


2 files changed, 2 insertions(+), 2 deletions(-)

README.md+1-1
...@@ -3,7 +3,7 @@...@@ -3,7 +3,7 @@
3![loc](https://sloc.xyz/github/nektro/zig-json)3![loc](https://sloc.xyz/github/nektro/zig-json)
4[![license](https://img.shields.io/github/license/nektro/zig-json.svg)](https://github.com/nektro/zig-json/blob/master/LICENSE)4[![license](https://img.shields.io/github/license/nektro/zig-json.svg)](https://github.com/nektro/zig-json/blob/master/LICENSE)
5[![nektro @ github sponsors](https://img.shields.io/badge/sponsors-nektro-purple?logo=github)](https://github.com/sponsors/nektro)5[![nektro @ github sponsors](https://img.shields.io/badge/sponsors-nektro-purple?logo=github)](https://github.com/sponsors/nektro)
6[![Zig](https://img.shields.io/badge/Zig-0.15-f7a41d)](https://ziglang.org/)6[![Zig](https://img.shields.io/badge/Zig-0.16-f7a41d)](https://ziglang.org/)
7[![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod)7[![Zigmod](https://img.shields.io/badge/Zigmod-latest-f7a41d)](https://github.com/nektro/zigmod)
88
9A JSON library for inspecting arbitrary values. Optionally accepts trailing commas.9A JSON library for inspecting arbitrary values. Optionally accepts trailing commas.
json.zig+1-1
...@@ -124,7 +124,7 @@ fn parseArray(alloc: std.mem.Allocator, p: *Parser) anyerror!?ValueIndex {...@@ -124,7 +124,7 @@ fn parseArray(alloc: std.mem.Allocator, p: *Parser) anyerror!?ValueIndex {
124124
125 var sfa = std.heap.stackFallback(std.heap.page_size_min, alloc);125 var sfa = std.heap.stackFallback(std.heap.page_size_min, alloc);
126 const alloc_local = sfa.get();126 const alloc_local = sfa.get();
127 var elements = std.ArrayListUnmanaged(ValueIndex){};127 var elements: std.ArrayListUnmanaged(ValueIndex) = .empty;
128 defer elements.deinit(alloc_local);128 defer elements.deinit(alloc_local);
129129
130 if (try p.parser.eatByte(']')) |_| {130 if (try p.parser.eatByte(']')) |_| {