jq is a lightweight and flexible command-line JSON parser written in C. It is developed as a single standalone executable, not relying on any external library. jq allows you to parse, extract, filter, map and transform a stream of JSON-formatted data from the command line, similar to how sed, awk and grep process plain-text files. It comes with a variety of built-in filters which can do things like extracting fields, converting between numbers and strings, sorting an array, flattening a nested array, splitting and joining strings, performing arithmetic, etc. Multiple filters can be combined into a single pipeline. jq also supports several common programming language features such as variable definition, function definition, recursive functions, etc. jq can run in streaming mode, where jq immediately starts processing a large mount of JSON data before the entire data has been parsed fully.

Xmodulo © 2021 ‒ AboutWrite for UsFeed ‒ Powered by DigitalOcean