A simple Go package for querying over JSON, YAML, XML, and CSV data.
Home Page:https://github.com/thedevsaddam/gojsonq/wiki
Repository from Github https://github.comthedevsaddam/gojsonqRepository from Github https://github.comthedevsaddam/gojsonq
lnn1988 opened this issue 4 years ago · 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")