It would be great if the package descended into arrays and printed the formated output of each element rather than .join-ing their string representations. Ideally an array of objects would print the fully formatted value of each object indented further.
It would be great if the package descended into arrays and printed the formated output of each element rather than
.join
-ing their string representations. Ideally an array of objects would print the fully formatted value of each object indented further.Consider the differences shown below.
Using
fmt-obj
: on{asdf: [{a: 3, b: 4}, {x: 10}]}
Using the
prettyjson
library: