| jq '+' | Addition |
| jq '-' | Subtraction |
| jq '*' | Multiplication, division, modulo |
| jq '/' | Multiplication, division, modulo |
| jq '%' | Multiplication, division, modulo |
| jq 'abs' | The builtin function abs is defined naively as: if |
| jq 'length' | The builtin function length gets the length of various different types of value |
| jq 'utf8bytelength' | The builtin function utf8bytelength outputs the number of bytes used to encode a string in UTF- |
| jq 'keys' | The builtin function keys, when given an object, returns its keys in an array |
| jq 'keys_unsorted' | The builtin function keys, when given an object, returns its keys in an array |
| jq 'has(key)' | The builtin function has returns whether the input object has the given key, or the input array |
| jq 'in' | The builtin function in returns whether or not the input key is in the given object, or the inp |
| jq 'map(f)' | For any filter f, map(f) and map_values(f) apply f to each of the values in the input array |
| jq 'map_values(f)' | For any filter f, map(f) and map_values(f) apply f to each of the values in the input array |
| jq 'pick(pathexps)' | Emit the projection of the input object or array defined by the specified sequence of path expr |
| jq 'path(path_expression)' | Outputs array representations of the given path expression in .. The outputs are arrays |
| jq 'del(path_expression)' | The builtin function del removes a key and its corresponding value from an object |
| jq 'getpath(PATHS)' | The builtin function getpath outputs the values in . found at each path in PATHS |
| jq 'setpath(PATHS; VALUE)' | The builtin function setpath sets the PATHS in . to VALUE |
| jq 'delpaths(PATHS)' | The builtin function delpaths deletes the PATHS in .. PATHS must be an array of paths, where |
| jq 'to_entries' | These functions convert between an object and an array of key-value pairs |
| jq 'from_entries' | These functions convert between an object and an array of key-value pairs |
| jq 'with_entries(f)' | These functions convert between an object and an array of key-value pairs |
| jq 'select(boolean_expression)' | The function select(f) produces its input unchanged if f returns true for that input, and produ |
| jq 'arrays' | These built-ins select only inputs that are arrays, objects, iterables (arrays or objects), boo |
| jq 'objects' | These built-ins select only inputs that are arrays, objects, iterables (arrays or objects), boo |
| jq 'iterables' | These built-ins select only inputs that are arrays, objects, iterables (arrays or objects), boo |
| jq 'booleans' | These built-ins select only inputs that are arrays, objects, iterables (arrays or objects), boo |
| jq 'numbers' | These built-ins select only inputs that are arrays, objects, iterables (arrays or objects), boo |
| jq 'normals' | These built-ins select only inputs that are arrays, objects, iterables (arrays or objects), boo |
| jq 'finites' | These built-ins select only inputs that are arrays, objects, iterables (arrays or objects), boo |
| jq 'strings' | These built-ins select only inputs that are arrays, objects, iterables (arrays or objects), boo |
| jq 'nulls' | These built-ins select only inputs that are arrays, objects, iterables (arrays or objects), boo |
| jq 'values' | These built-ins select only inputs that are arrays, objects, iterables (arrays or objects), boo |
| jq 'scalars' | These built-ins select only inputs that are arrays, objects, iterables (arrays or objects), boo |
| jq 'empty' | empty returns no results |
| jq 'error' | Produces an error with the input value, or with the message given as the argument |
| jq 'error(message)' | Produces an error with the input value, or with the message given as the argument |
| jq 'halt' | Stops the jq program with no further outputs |
| jq 'halt_error' | Stops the jq program with no further outputs |
| jq 'halt_error(exit_code)' | Stops the jq program with no further outputs |
| jq '$__loc__' | Produces an object with a "file" key and a "line" key, with the filename and line number where |
| jq 'paths' | paths outputs the paths to all the elements in its input (except it does not output the empty l |
| jq 'paths(node_filter)' | paths outputs the paths to all the elements in its input (except it does not output the empty l |
| jq 'add' | The filter add takes as input an array, and produces as output the elements of the array added |
| jq 'add(generator)' | The filter add takes as input an array, and produces as output the elements of the array added |
| jq 'any' | The filter any takes as input an array of boolean values, and produces true as output if any |
| jq 'any(condition)' | The filter any takes as input an array of boolean values, and produces true as output if any |
| jq 'any(generator; condition)' | The filter any takes as input an array of boolean values, and produces true as output if any |
| jq 'all' | The filter all takes as input an array of boolean values, and produces true as output if all |
| jq 'all(condition)' | The filter all takes as input an array of boolean values, and produces true as output if all |
| jq 'all(generator; condition)' | The filter all takes as input an array of boolean values, and produces true as output if all |
| jq 'flatten' | The filter flatten takes as input an array of nested arrays, and produces a flat array |
| jq 'flatten(depth)' | The filter flatten takes as input an array of nested arrays, and produces a flat array |
| jq 'range(upto)' | The range function produces a range of numbers |
| jq 'range(from; upto)' | The range function produces a range of numbers |
| jq 'range(from; upto; by)' | The range function produces a range of numbers |
| jq 'floor' | The floor function returns the floor of its numeric input |
| jq 'sqrt' | The sqrt function returns the square root of its numeric input |
| jq 'tonumber' | The tonumber function parses its input as a number |
| jq 'toboolean' | The toboolean function parses its input as a boolean |
| jq 'tostring' | The tostring function prints its input as a string |
| jq 'type' | The type function returns the type of its argument as a string, which is one of null, boolean |
| jq 'infinite' | Some arithmetic operations can yield infinities and "not a number" (NaN) values |
| jq 'nan' | Some arithmetic operations can yield infinities and "not a number" (NaN) values |
| jq 'isinfinite' | Some arithmetic operations can yield infinities and "not a number" (NaN) values |
| jq 'isnan' | Some arithmetic operations can yield infinities and "not a number" (NaN) values |
| jq 'isfinite' | Some arithmetic operations can yield infinities and "not a number" (NaN) values |
| jq 'isnormal' | Some arithmetic operations can yield infinities and "not a number" (NaN) values |
| jq 'sort' | The sort functions sorts its input, which must be an array |
| jq 'sort_by(path_expression)' | The sort functions sorts its input, which must be an array |
| jq 'group_by(path_expression)' | group_by(.foo) takes as input an array, groups the elements having the same .foo field into sep |
| jq 'min' | Find the minimum or maximum element of the input array |
| jq 'max' | Find the minimum or maximum element of the input array |
| jq 'min_by(path_exp)' | Find the minimum or maximum element of the input array |
| jq 'max_by(path_exp)' | Find the minimum or maximum element of the input array |
| jq 'unique' | The unique function takes as input an array and produces an array of the same elements, in sort |
| jq 'unique_by(path_exp)' | The unique function takes as input an array and produces an array of the same elements, in sort |
| jq 'reverse' | This function reverses an array |
| jq 'contains(element)' | The filter contains(b) will produce true if b is completely contained within the input |
| jq 'indices(s)' | Outputs an array containing the indices in . where s occurs. The input may be an array |
| jq 'index(s)' | Outputs the index of the first (index) or last (rindex) occurrence of s in the input |
| jq 'rindex(s)' | Outputs the index of the first (index) or last (rindex) occurrence of s in the input |
| jq 'inside' | The filter inside(b) will produce true if the input is completely contained within b |
| jq 'startswith(str)' | Outputs true if |
| jq 'endswith(str)' | Outputs true if |
| jq 'combinations' | Outputs all combinations of the elements of the arrays in the input array |
| jq 'combinations(n)' | Outputs all combinations of the elements of the arrays in the input array |
| jq 'ltrimstr(str)' | Outputs its input with the given prefix string removed, if it starts with it |
| jq 'rtrimstr(str)' | Outputs its input with the given suffix string removed, if it ends with it |
| jq 'trimstr(str)' | Outputs its input with the given string removed at both ends, if it starts or ends with it |
| jq 'trim' | trim trims both leading and trailing whitespace |
| jq 'ltrim' | trim trims both leading and trailing whitespace |
| jq 'rtrim' | trim trims both leading and trailing whitespace |
| jq 'explode' | Converts an input string into an array of the string's codepoint numbers |
| jq 'implode' | The inverse of explode |
| jq 'split(str)' | Splits an input string on the separator argument |
| jq 'join(str)' | Joins the array of elements given as input, using the argument as separator |
| jq 'ascii_downcase' | Emit a copy of the input string with its alphabetic characters (a-z and A-Z) converted to the s |
| jq 'ascii_upcase' | Emit a copy of the input string with its alphabetic characters (a-z and A-Z) converted to the s |
| jq 'while(cond; update)' | The while(cond; update) function allows you to repeatedly apply an update to . until cond |
| jq 'repeat(exp)' | The repeat(exp) function allows you to repeatedly apply expression exp to . until an error |
| jq 'until(cond; next)' | The until(cond; next) function allows you to repeatedly apply the expression next, initially |
| jq 'recurse(f)' | The recurse(f) function allows you to search through a recursive structure, and extract interes |
| jq 'recurse' | The recurse(f) function allows you to search through a recursive structure, and extract interes |
| jq 'recurse(f; condition)' | The recurse(f) function allows you to search through a recursive structure, and extract interes |
| jq 'walk(f)' | The walk(f) function applies f recursively to every component of the input entity |
| jq 'have_literal_numbers' | This builtin returns true if jq's build configuration includes support for preservation of inpu |
| jq 'have_decnum' | This builtin returns true if jq was built with "decnum", which is the current literal number pr |
| jq '$JQ_BUILD_CONFIGURATION' | This builtin binding shows the jq executable's build configuration |
| jq '$ENV' | $ENV is an object representing the environment variables as set when the jq program started |
| jq 'env' | $ENV is an object representing the environment variables as set when the jq program started |
| jq 'transpose' | Transpose a possibly jagged matrix (an array of arrays) |
| jq 'bsearch(x)' | bsearch(x) conducts a binary search for x in the input array |
| jq '\(exp)' | String interpolation |
| jq 'Convert to/from JSON' | The tojson and fromjson builtins dump values as JSON texts or parse JSON texts into values, res |
| jq 'SQL-Style Operators' | jq provides a few SQL-style operators |
| jq 'builtins' | Returns a list of all builtin functions in the format name/arity |