# std.json: add fmt function \(\#17055\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 223f62acbd32c04db3169906f33869f43e5258f7

Requested commit: 223f62acbd32c04db3169906f33869f43e5258f7

Commit: 223f62acbd32c04db3169906f33869f43e5258f7

Tree: 21e51a6ec49519505da94bb8164d1806b44931f1

Author: Jonathan Marler

Committer: GitHub

## Message

```
std.json: add fmt function (#17055)

Adds std.json.fmt which returns a std.fmt Formatter that formats any
given value using std.json.stringify.
```

## Parents

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

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