| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-08-08 | std.json: stringify enum literals (#16742) | Philipp Lühmann | |
| 2023-08-06 | std.json: josh review fixes | Jonathan Marler | |
| * renamed enum_big_numbers_quoted option to enum_nonportable_numbers_as_strings * updated stringify doc to mention the option I also reversed the logic to determine whether an integer is nonportable, it seemed easier to reason about. I also took a stab at applying the new option to floats, but, I got stuck at trying to print large floats, not sure if Zig supports that yet. | |||
| 2023-08-05 | std.json: fix roundtrip stringify for large integers | Jonathan Marler | |
| std.json follows interoperability recommendations from RFC8259 to limit JSON number values to those that fit inside an f64. However, since Zig supports arbitrarily large JSON numbers, this breaks roundtrip data congruence. To appease both use cases, I've added an option `emit_big_numbers_quoted` to StringifyOptions. It's disabled by default which preserves roundtrip but can be enabled to favor interoperability. | |||
| 2023-07-27 | std.json: WriteStream.print instead of writePreformatted | Josh Wolfe | |
| 2023-07-21 | std.json: Unify stringify and writeStream (#16405) | Josh Wolfe | |
| 2023-07-12 | Remove len parameter from splat in standard lib | antlilja | |
| 2023-07-10 | explicitly specify error set of `std.json.stringify` | Techatrix | |
| 2023-07-03 | json: give enums a default stringify implementation | Evin Yulo | |
| 2023-05-13 | std: Rewrite low-level json api to support streaming (#15602) | Josh Wolfe | |
