thedevsaddam / gojsonq

A simple Go package to Query over JSON/YAML/XML/CSV Data
https://github.com/thedevsaddam/gojsonq/wiki
MIT License
2.18k stars 140 forks source link

Add support for nested level query using GroupBy #14

Closed thedevsaddam closed 6 years ago

thedevsaddam commented 6 years ago

Add support for the nested level in GroupBy()

res := gojsonq.New().File("./data.json").From(".").GroupBy("post.year").Get()
println(res)
thedevsaddam commented 6 years ago

It'll work from version v1.3.0