Type Function Parsed [src]

Alias for std.json.static.Parsed

Prototype

pub fn Parsed(comptime T: type) type

Parameters

T: type

Source

pub fn Parsed(comptime T: type) type { return struct { arena: *ArenaAllocator, value: T, pub fn deinit(self: @This()) void { const allocator = self.arena.child_allocator; self.arena.deinit(); allocator.destroy(self.arena); } }; }