Re:Tips on adding JSON output to your CLI app
by Supermancho on Sunday December 05, 2021 @10:53PM
(#29455936)
> It certainly seems like it does when the first example for flattening is oversimplifying an already simple structure that doesn't really need flattening.
For the purposes of making an example of how the concept is applied, making a verbose example is counterproductive. This doesn't require explanation because developers don't make work for themselves they don't need to, in practice.
For the purposes of making an example of how the concept is applied, making a verbose example is counterproductive. This doesn't require explanation because developers don't make work for themselves they don't need to, in practice.