TylerBrock/saw

JSON not formatted and colors not displayed

QuentinDela opened this issue · 0 comments

Hello,

I am trying to do a console.log of

{
  "str": "foo",
  "num": 100,
  "bool": false,
  "null": null,
  "array": ["foo", "bar", "baz"],
  "obj": { "a": 1, "b": 2 }
}

to have the colorized and indented output as seen on https://github.com/TylerBrock/colorjson but it's not working.

This is my output

Screen Shot 2019-11-26 at 5 44 09 PM

I am using iTerm and oh-my-zsh.

Is there anything I should to to have the output logs colorized and indented properly ?