Re:Tips on adding JSON output to your CLI app
by IgorPartola on Tuesday December 07, 2021 @08:09PM
(#29480241)
The OP specifically advocates against your proposed pattern and points out why nesting isn’t ideal. Also JSON doesn’t support fixed point numbers so JSON.encode(JSON.parse(input)) != input even if your equality assumes that formatting doesn’t matter.
[ Parent
| on HN ]
There are no comments on this comment yet.