# thedevsaddam/gojsonq

A simple Go package for querying over JSON, YAML, XML, and CSV data.

Repository: https://github.com/thedevsaddam/gojsonq
Canonical: https://ross.abutalabs.com/products/gojsonq
Homepage: https://github.com/thedevsaddam/gojsonq/wiki
Language: Go
License: MIT
License Family: permissive
Topics: gojsonq, golang-json-query, go-json, go-json-query, json-query, json, query, golang-json, golang-query, go-query, gojsonquery, jsonq
Last push: 2022-11-28T11:29:44+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3028, "days_push": 1374, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2223, forks 144 (observed 2026-08-28T04:06:27.837249+00:00)

## What it is
A Go library providing a simple, fluent, ODM-like API for querying and extracting data from JSON, YAML, XML, and CSV documents. It supports nested path lookups, filtering (where, whereIn, contains), and aggregations like sum and average.

## Use cases
- query  documents in go
- filter and extract nested  fields
- run where clauses on  arrays
- query yaml or csv files like a database
- compute averages and sums over  data
- parse large  files with a query api

## When to choose
- you need jq-like querying embedded in a Go program
- you want a fluent API to filter and aggregate structured data files
- you work with multiple formats (JSON, YAML, XML, CSV) with one API

## When to avoid
- you need a full document database or persistent storage
- you need streaming/incremental parsing of extremely large files
- the project is in maintenance mode and you need actively developed features

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, search-engine, developer-tools
- domain: developer-tools, files
- platform: go, cross-platform
- tags: -query, yaml, xml, csv, odm-like-api, query-language, data-engineering

## Member repositories
- thedevsaddam/gojsonq (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:27.837249+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T02:45:44.467160+00:00, confidence not recorded.
  - readme: https://github.com/thedevsaddam/gojsonq (fetched 2026-08-28T04:06:27.837249+00:00, sha 1d55a06f5064)
  - homepage: https://github.com/thedevsaddam/gojsonq/wiki (fetched 2026-08-29T10:25:36.221992+00:00, sha b7646d562586)
- Data as of 2026-08-30T08:39:29.467469+00:00.
