| author | |
| committer | |
| log | 2793e74b8fefef535b951221cdb440c4986f4af3 |
| tree | e0adbc4dcc32a474a3cddda0337052933f0327bd |
| parent | adf0b38ce528dba7e1cd4eee474ec9d30cde8078 |
1 files changed, 3 insertions(+), 0 deletions(-)
json.zig+3| ... | @@ -654,6 +654,9 @@ pub const ObjectIndex = enum(u32) { | ... | @@ -654,6 +654,9 @@ pub const ObjectIndex = enum(u32) { |
| 654 | const keys, const values = this.to(); | 654 | const keys, const values = this.to(); |
| 655 | for (keys, values) |k, v| { | 655 | for (keys, values) |k, v| { |
| 656 | if (std.mem.eql(u8, needle, k.to())) { | 656 | if (std.mem.eql(u8, needle, k.to())) { |
| 657 | if (v.v() == .null) { | ||
| 658 | return null; | ||
| 659 | } | ||
| 657 | if (v.v() == tag) { | 660 | if (v.v() == tag) { |
| 658 | return v; | 661 | return v; |
| 659 | } | 662 | } |