A command-line JSON processor using Python syntax. More information: https://github.com/kellyjonbrazil/jello.…
A command-line JSON processor using Python syntax. More information: https://github.com/kellyjonbrazil/jello.
cat {{file.json}} | jello
cat {{file.json}} | jello -s
cat {{file.json}} | jello -l
cat {{file.json}} | jello _[0]
cat {{file.json}} | jello '[i.{{key_name}} for i in _]'
key_name
and other_key_name
):cat {{file.json}} | jello '{"{{my_new_key}}": _.{{key_name}}, "{{my_other_key}}": _.{{other_key_name}}}'
cat {{file.json}} | jello -r '"{{some text}}: " + _.{{key_name}}'