Query JSON data using Golang (gojsonq package)
Developers often need to consume JSON data from other services and query over it. However, querying JSON data can be time-consuming. Over the past few days, I’ve been working on a Golang package to make querying JSON data easier. The idea and inspiration for this package come from PHP-JSONQ by Nahid Bin Azhar. Let’s start by looking at a sample JSON dataset: Now that we have the JSON data, let’s dive into some examples of how to query it using the package. ...