const std = @import("std"); const Alloc = std.mem.Allocator; const io = @import("../io.zig"); const value = @import("../value.zig"); const Value = value.Value; const Decoder = @This(); alloc: Alloc, pub fn init(alloc: Alloc) !Decoder { return .{ .alloc = alloc }; } pub fn decodeInPlace(d: *Decoder, v: Value) !Value { std.debug.print("decode: ", .{}); try io.printStdout(v); _ = d; return v; }