thedevsaddam / gojsonq

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

Can SUM func Support DOT Operation

lnn1988 opened this issue · comments

commented

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?