RecoLabs

RecoLabs / gnata

Public

Pure-Go implementation of JSONata 2.x for high-throughput streaming evaluation

15
0
100% credibility
Found Mar 10, 2026 at 15 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
Go
AI Summary

Gnata is a fast Go implementation of the JSONata query language for extracting, transforming, and aggregating JSON data in streaming pipelines.

How It Works

1
👀 Discover gnata

You hear about a simple tool that lets you search and reshape your JSON data like magic, perfect for everyday tasks.

2
📥 Get it set up

Download and prepare gnata on your computer so it's ready to use with your files.

3
Write your first query

Type a short sentence in plain English to pull out exactly what you need from your data, like finding prices in orders.

4
🔍 Run it on your data

Feed in your JSON files or streams, and watch gnata quickly find and organize the info.

5
Handle big loads

Add more rules for sorting, filtering, or grouping huge amounts of data without slowing down.

🎉 Enjoy fast results

Your data is now perfectly shaped for reports or apps, saving you hours of manual work.

Sign up to see the full architecture

4 more

Sign Up Free

Star Growth

See how this repo grew from 15 to 15 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is gnata?

Gnata is a pure-Go implementation of JSONata 2.x, a lightweight query language for JSON data—like jq crossed with XPath and lambdas. It lets you evaluate complex path queries, filters, transforms, and aggregations on JSON docs or streams, with a focus on high-throughput streaming evaluation for production workloads. Built for Go services handling millions of events daily, it supports raw bytes input, custom functions, and even WASM for browser playgrounds.

Why is it gaining traction?

It crushes jsonata-js in benchmarks—up to 1500x faster on simple lookups via zero-copy paths, with lock-free batch eval for multiple expressions per event. Full 2.x spec compliance (1778 tests pass), schema-cached plans for near-zero contention, and metrics hooks make it production-ready without the JS overhead. Devs digging into gnata consulting or jsonata evaluation love the Go-native speed without sacrificing features like regex, higher-order functions, or date formatting.

Who should use this?

Go backend engineers building event processors, log analyzers, or API gateways need fast JSONata without Node.js deps—think Kafka consumers filtering rules at scale. Data pipeline teams replacing jq in scripts will appreciate the streaming API for batched high-throughput queries. Avoid if you're tied to JS ecosystems or need every exotic regex feature (RE2 subset only).

Verdict

Solid bet for Go shops eyeing jsonata 2.x streaming eval, despite 11 stars and 1.0% credibility signaling early days—docs shine, tests are exhaustive (0 failures), MIT license. Pair with gnatapiay or gnats for fun, but benchmark your workloads first.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.