fn ArrayHashMap(comptime T: type) type

A thin wrapper around std.StringArrayHashMapUnmanaged that implements jsonParse, jsonParseFromValue, and jsonStringify. This is useful when your JSON schema has an object with arbitrary data keys instead of comptime-known struct field names.

Parameters

T: type,

Fields

map: field_call = .{ },

Functions

fn deinit(self: *@This(), allocator: Allocator) void

No documentation provided.

fn jsonParse(allocator: Allocator, source: anytype, options: ParseOptions) !@This()

No documentation provided.

fn jsonParseFromValue(allocator: Allocator, source: Value, options: ParseOptions) !@This()

No documentation provided.

fn jsonStringify(self: anytype, jws: anytype) !void

No documentation provided.