# std: Fix json utf\{8,16\} decoding on BE targets · gitcafe/zig

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

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

Visibility: public

Requested revision: 02efc2236a8223872f57a1a7a5aec756b5a23a76

Requested commit: 02efc2236a8223872f57a1a7a5aec756b5a23a76

Commit: 02efc2236a8223872f57a1a7a5aec756b5a23a76

Tree: 30c48ad99e9cdedcb89858dd2f918662e86b670b

Author: LemonBoy

Committer: LemonBoy

## Message

```
std: Fix json utf{8,16} decoding on BE targets

Byteswap some values when LE ordering is required.

```

## Parents

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

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