lnn1988 opened this issue 5 years ago · 0 comments
For example, I have a json string like [{"s":1, "a": {"b":1}},{"s":1, "a": {"b":1}},{"s":1, "a": {"b":5}}] I want jq.Sum("a.b"), Is this possible?
[{"s":1, "a": {"b":1}},{"s":1, "a": {"b":1}},{"s":1, "a": {"b":5}}]
jq.Sum("a.b")