diff --git a/lib/std/json.zig b/lib/std/json.zig index 5200f8236c115f19e02c8f80be60a1c0b86d2089..ac1047d1a98157841506f79316e803f53f4e3d20 100644 --- a/lib/std/json.zig +++ b/lib/std/json.zig @@ -2101,7 +2101,7 @@ pub const Parser = struct { // Unescape a JSON string // Only to be used on strings already validated by the parser // (note the unreachable statements and lack of bounds checking) -fn unescapeString(output: []u8, input: []const u8) !void { +pub fn unescapeString(output: []u8, input: []const u8) !void { var inIndex: usize = 0; var outIndex: usize = 0;