| ... | ... | @@ -898,7 +898,7 @@ pub const TokenStream = struct { |
| 898 | 898 | } |
| 899 | 899 | } |
| 900 | 900 | |
| 901 | | if(self.parser.complete){ |
| 901 | if (self.parser.complete) { |
| 902 | 902 | return null; |
| 903 | 903 | } else { |
| 904 | 904 | return error.UnexpectedEndOfJson; |
| ... | ... | @@ -1339,7 +1339,7 @@ pub const Parser = struct { |
| 1339 | 1339 | // TODO: We don't strictly have to copy values which do not contain any escape |
| 1340 | 1340 | // characters if flagged with the option. |
| 1341 | 1341 | const slice = token.slice(input, i); |
| 1342 | | return Value{ .String = try mem.dupe(p.allocator, u8, slice) }; |
| 1342 | return Value{ .String = try mem.dupe(allocator, u8, slice) }; |
| 1343 | 1343 | } |
| 1344 | 1344 | |
| 1345 | 1345 | fn parseNumber(p: *Parser, token: Token, input: []const u8, i: usize) !Value { |