CmdID

CmdID / Commands

jello

A JSON processor using Python syntax. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Pretty-print JSON or JSON-Lines data from stdin to stdout

cat file.json | jelloIdentify

Output a schema of JSON or JSON Lines data from stdin to stdout (useful for grep)

cat file.json | jello -sIdentify

Output all elements from arrays (or all the values from objects) in JSON or JSON-Lines data from stdin to stdout

cat file.json | jello -lIdentify

Output the first element in JSON or JSON-Lines data from stdin to stdout

cat file.json | jello _[0]Identify

Output the value of a given key of each element in JSON or JSON-Lines data from stdin to stdout

cat file.json | jello '[i.key_name for i in _]'Identify

Output the value of multiple keys as a new JSON object (assuming the input JSON has the keys key_name1 and key_name2)

cat file.json | jello '{"key1": _.key_name1, "key2": _.key_name2, ...}'Identify

Output the value of a given key to a string (and disable JSON output)

cat file.json | jello -r '"some text: " + _.key_name'Identify