fix for 0.16.0-dev.2623

This commit is contained in:
Vlad Panazan 2026-02-21 22:20:34 +01:00 committed by CJ van den Berg
parent b6fc137250
commit defb24a36a

View file

@ -1427,8 +1427,8 @@ pub fn toJsonOptsAlloc(a: std.mem.Allocator, cbor_buf: []const u8, opts: std.jso
pub fn writeJsonValue(writer: *Io.Writer, value: json.Value) !void { pub fn writeJsonValue(writer: *Io.Writer, value: json.Value) !void {
try switch (value) { try switch (value) {
.array => |_| unreachable, .array => unreachable,
.object => |_| unreachable, .object => unreachable,
.null => writeNull(writer), .null => writeNull(writer),
inline else => |v| writeValue(writer, v), inline else => |v| writeValue(writer, v),
}; };