authorgravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2020-12-10 21:19:41+02:00
committergravatar for git@vexu.euVeikka Tuominen <git@vexu.eu> 2020-12-10 21:19:41+02:00
logafc21a2f1c34912f7cb8f18853f56de04e74f1fc
tree01b5aa2a735b64196a7907e70a1756fbf42feb14
parent73016212a3ec48724e7012c4470b4c735d1f211b
signaturelock-open Commit is signed but in an unrecognized format.

make std.json.unescapeString pub


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/json.zig+1-1
...@@ -2101,7 +2101,7 @@ pub const Parser = struct {...@@ -2101,7 +2101,7 @@ pub const Parser = struct {
2101// Unescape a JSON string2101// Unescape a JSON string
2102// Only to be used on strings already validated by the parser2102// Only to be used on strings already validated by the parser
2103// (note the unreachable statements and lack of bounds checking)2103// (note the unreachable statements and lack of bounds checking)
2104fn unescapeString(output: []u8, input: []const u8) !void {2104pub fn unescapeString(output: []u8, input: []const u8) !void {
2105 var inIndex: usize = 0;2105 var inIndex: usize = 0;
2106 var outIndex: usize = 0;2106 var outIndex: usize = 0;
21072107