Another short form: If no argument at all is needed then just the filter name is sufficient (no :{} needed). Example: caget -a "record.{ts}"
I know this is not valid JSON5, but it is convenient and intuitive and works.
Can be stacked with other filters without problems: caget -a "record.{ts,arr:{i:3},dec:1}"
The filter is created as if called with {}.
Another short form: If no argument at all is needed then just the filter name is sufficient (no :{} needed). Example: caget -a "record.{ts}" {ts,arr: {i:3},dec: 1}"
I know this is not valid JSON5, but it is convenient and intuitive and works.
Can be stacked with other filters without problems: caget -a "record.
The filter is created as if called with {}.