Is there any Zsh plugins to format/collapse any JSON logs displayed through the terminal?

Viewed 273

So I have basically a server running locally on my computer. I sometime need to enable verbose of logs to the maximum, for some debug purpose.

The thing is, when I'm logging everything, I'm surged by a lot of (and big) JSON objects logs which make difficult to read anything.

I wish I could install a Zsh plugin which automatically detect JSON logs and collapse them, so that I can click on the json log which I want to see easily. If it could also put some colors, would be even better !

Do you know any existing Zsh plugin which can do this ? Google didn't help me to find out something.

Thanks !

0 Answers
Related