Python ast literal_eval

literal_eval - ast - Python documentation - Kite

Safely evaluates Python expressions, nice to use for input.

may only consist of the following Python literal structures: strings, numbers, tuples, lists, dicts, booleans, and None.

jq colours

To pipe output with jq to for example less preserving the colours, use -C. (Simialar to --color=always etc.)

jq . $filename -C | less