Json – jq: Defaulting multiple possibly-nonexistent key, in nested path?
I'd like to default values in place on jq, and return root document. What I have (note that some property is missing from the inner object): [{"foo":{}},{"foo":{"a":1}},{"foo":{"b":4,"c":23}},{"foo":{"a":15,"b":2,"c":33}}] What I want (default missing property with 0): [ { "foo": { "a":…