Step: Inspect: keys, length, has
Inspect: keys, length, has
jq ships built-ins that describe a value:
keys— sorted array of an object's keys (or array indices)length— size of an array/object/string, or absolute value of a numberhas("k")— whether a key/index exists
Your turn: list the top-level keys of the input (they come back sorted).
Input:
Expected:
Step 16 of 27