mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
std.json: add generic hash map that parses/stringifies with arbitrary string keys (#16366)
* expose innerParseFromValue
This commit is contained in:
@@ -69,6 +69,8 @@ pub const ObjectMap = @import("json/dynamic.zig").ObjectMap;
|
||||
pub const Array = @import("json/dynamic.zig").Array;
|
||||
pub const Value = @import("json/dynamic.zig").Value;
|
||||
|
||||
pub const ArrayHashMap = @import("json/hashmap.zig").ArrayHashMap;
|
||||
|
||||
pub const validate = @import("json/scanner.zig").validate;
|
||||
pub const Error = @import("json/scanner.zig").Error;
|
||||
pub const reader = @import("json/scanner.zig").reader;
|
||||
@@ -91,6 +93,7 @@ pub const parseFromTokenSourceLeaky = @import("json/static.zig").parseFromTokenS
|
||||
pub const innerParse = @import("json/static.zig").innerParse;
|
||||
pub const parseFromValue = @import("json/static.zig").parseFromValue;
|
||||
pub const parseFromValueLeaky = @import("json/static.zig").parseFromValueLeaky;
|
||||
pub const innerParseFromValue = @import("json/static.zig").innerParseFromValue;
|
||||
pub const ParseError = @import("json/static.zig").ParseError;
|
||||
pub const ParseFromValueError = @import("json/static.zig").ParseFromValueError;
|
||||
|
||||
@@ -116,6 +119,7 @@ test {
|
||||
_ = @import("json/scanner.zig");
|
||||
_ = @import("json/write_stream.zig");
|
||||
_ = @import("json/dynamic.zig");
|
||||
_ = @import("json/hashmap_test.zig");
|
||||
_ = @import("json/static.zig");
|
||||
_ = @import("json/stringify.zig");
|
||||
_ = @import("json/JSONTestSuite_test.zig");
|
||||
|
||||
Reference in New Issue
Block a user