You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Webster's dictionary defines beauty as "the quality or aggregate of qualities in a person or thing that gives pleasure to the senses or pleasurably exalts the mind or spirit".
Look at this output, isn't it nice that it is colorized.
The bash version got away with this because it was piping through jq, I suspect that we won't have this on day one. We will want it though, however this simple ask can get very complex. Since it isn't supported on every terminal, it's also tricky to do well, and you likely need to understand JSON and maybe have a lexer. In #16 we might have included the gojq library in the project, and it may help us here.
Structural elements like commas, colons, parenthesis should be a specific color.
Keys should be another color
Strings should be another color.
null should be a different color
true false should be another color.
Maybe consider whether specific keys or paths should be distinct colors, we can draw peoples attension to specific and more important elements (e.g., name and email), and less away from boiler plate like (data or id).
Webster's dictionary defines beauty as "the quality or aggregate of qualities in a person or thing that gives pleasure to the senses or pleasurably exalts the mind or spirit".
Look at this output, isn't it nice that it is colorized.
The bash version got away with this because it was piping through jq, I suspect that we won't have this on day one. We will want it though, however this simple ask can get very complex. Since it isn't supported on every terminal, it's also tricky to do well, and you likely need to understand JSON and maybe have a lexer. In #16 we might have included the gojq library in the project, and it may help us here.
Acceptance Criteria
test-jsoncommand support #16getSupport (Basic). #2 ) should be pretty printed.