CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.
JSON Convert
or using the alternative "magic" syntax:
See also:
Use Cases:
For example, to skip the first and last line of the following text, you
could express the slice in a couple ways:
Here is a …