autodoc: rework json printing code

We're now using `std.json.writeStream`, which makes our prints correct
in terms of escapes and also reduces the amount of json-related code.
Unfortunately, we have to mess around with the json stream writer state
whenever we end up using `std.json.stringify` for convenience.
dd4bd55ef6Loris Cro committed on 7/20/2022, 2:10:12 AM· committed by Andrew Kelleyparent45e3b1a
1 file changedLine totals unavailable