Commit 4c65a86
committed
JSON cleanup
* Tried to make the code more idiomatic
* Renamed the `wr` field of the `Encoder` and `PrettyEncoder` structs to `writer`
* Replaced some `from_utf8` by `from_utf8_owned` to avoid unnecessary allocations
* Removed unnecessary `unsafe` code1 parent 94343da commit 4c65a86
1 file changed
+184
-263
lines changed
0 commit comments