What are good CLI tools for JSON?

后端 未结 8 1355
难免孤独
难免孤独 2021-01-30 00:45

General Problem

Though I may be diagnosing the root cause of an event, determining how many users it affected, or distilling timing logs in order to assess the perform

8条回答
  •  甜味超标
    2021-01-30 01:17

    There is also interactive terminal tool — fx

    Pipe into fx any JSON and anonymous function for reducing it.

    $ echo '{...}' | fx [code ...]
    

    Start interactive mode without passing any arguments:

    $ curl ... | fx
    

    • https://github.com/antonmedv/fx

提交回复
热议问题