# std/json: Fix premature closing brace being considered valid JSON · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e902c19c0e2bf7f0e9bc83b2c58d19ec024d56db)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e902c19c0e2bf7f0e9bc83b2c58d19ec024d56db

Requested commit: e902c19c0e2bf7f0e9bc83b2c58d19ec024d56db

Commit: e902c19c0e2bf7f0e9bc83b2c58d19ec024d56db

Tree: de1f648b1339d0c01e799d9d40e7fb602b282b8a

Author: Matthew Borkowski

Committer: GitHub

## Message

```
std/json: Fix premature closing brace being considered valid JSON

return error from StreamingParser when reading closing brace when expecting value for an object key
```

## Parents

- [4f71852c103f8dbf6ce78b36e5abd41a0c4ccf06](https://git.cafe/gitcafe/zig/commit/4f71852c103f8dbf6ce78b36e5abd41a0c4ccf06?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e902c19c0e2bf7f0e9bc83b2c58d19ec024d56db?format=markdown)
