mirror of
https://github.com/ziglang/zig.git
synced 2026-02-21 16:54:52 +00:00
make std.json.unescapeString pub
This commit is contained in:
parent
b4c0396d3c
commit
235d56cb82
@ -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;
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user