Go JSON

Open-source Go projects categorized as JSON

Top 23 Go JSON Projects

  • GitHub repo urfave/cli

    A simple, fast, and fun package for building command line apps in Go (by urfave)

    Project mention: High-Performance Shortlink creator in Golang | reddit.com/r/golang | 2021-05-21

    Another option would be to use something like urfave/cli to read values from environment variables and CLI flags.

  • GitHub repo jsoniter

    A high-performance 100% compatible drop-in replacement of "encoding/json" (by json-iterator)

    Project mention: OjG now has a tokenizer that is almost 10 times faster than json.Decode | reddit.com/r/golang | 2021-04-18

    Need to compare with https://github.com/json-iterator/go too!

  • GitHub repo GJSON

    Get JSON values quickly - JSON parser for Go

    Project mention: After years of eagerness, I finally started Go and I already feel as if I start to hate it.... | reddit.com/r/golang | 2021-05-20

    I would check out https://github.com/tidwall/gjson

  • GitHub repo Ponzu

    Headless CMS with automatic JSON API. Featuring auto-HTTPS from Let's Encrypt, HTTP/2 Server Push, and flexible server framework written in Go.

    Project mention: To Drupal or not to Drupal… Putting my foot down in the Webform module's issue queue | reddit.com/r/drupal | 2021-04-26
  • GitHub repo opa

    An open source, general-purpose policy engine.

    Project mention: Expose Open Policy Agent/Gatekeeper Constraint Violations for Kubernetes Applications with Prometheus and Grafana | dev.to | 2021-06-18

    Open Policy Agent (OPA) and its Kubernetes targeting component Gatekeeper gives you means to enforce policies on Kubernetes clusters. What we mean by policies here, is a formal definition of rules & best practices & behavior that you want to see in your company's Kubernetes clusters. When using OPA, you use a Domain Specific Language called Rego to write policies. By doing this, you leave no room for misinterpretations that would occur if you tried to explain a policy in free text on your company's internal wiki.

  • GitHub repo zerolog

    Zero Allocation JSON Logger

    Project mention: Simple, customizable, leveled and efficient logging in Go | reddit.com/r/golang | 2021-06-07

    What advantage does this provide over something like zerolog?

  • GitHub repo jsonparser

    One of the fastest alternative JSON parser for Go that does not require schema

    Project mention: JSON object of objects / Python dictionary of dictionaries (with unknown structure) | reddit.com/r/golang | 2021-04-07
  • GitHub repo hcl

    HCL is the HashiCorp configuration language.

    Project mention: Terraform finally hits v1.0.0 | reddit.com/r/devops | 2021-06-08
  • GitHub repo easyjson

    Fast JSON serializer for golang.

    Project mention: Is there a JSON parsing library that generates specialized code for types? | reddit.com/r/learnrust | 2021-06-16

    I'm looking for something similar to https://github.com/mailru/easyjson where one can generate a concrete JSON parser for some types.

  • GitHub repo gorequest

    GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )

  • GitHub repo minify

    Go minifiers for web formats (by tdewolff)

  • GitHub repo octosql

    OctoSQL is a query tool that allows you to join, analyse and transform data from multiple databases and file formats using SQL.

    Project mention: Query Engines: Push vs. Pull | news.ycombinator.com | 2021-05-01
  • GitHub repo nano

    Lightweight, facility, high performance golang based game server framework

    Project mention: New ‘Action Roguelike’ C++ Project on GitHub | news.ycombinator.com | 2021-01-16

    Couldn't you use just a vanilla Golang (or any other language) microservice for all of this? If you know what you are doing you can have a bulletproof basic service with all of the above up and running in no time, just add your game logic. Most of your requirements are part and parcel of any modern commercial Docker microservice. Never mind that such frameworks already exist, e.g. nano [0] specifically designed for games.

    Scalability is also not an issue. Number of simultaneous players and objects is limited by bandwidth and latency only. There are certainly no barriers to handling multi-million entity databases on any modern server. You're really only limited by how much data you can push out to your users within an update tick. And of course by how much money you're willing to pay for back end compute capacity on an ongoing basis. But those costs are very low these days, especially if you have dedicated servers rather then AWS/Google/Azure.

    I think perhaps the issue is not so much that frameworks don't exist, but rather that no single framework has achieved popularity in the game design community. The indie crowd is not likely to want to, or afford to, run servers for years and years, so the demand is not there. The triple-A studios roll their own.

    [0] https://github.com/lonng/nano

  • GitHub repo httpexpect

    End-to-end HTTP and REST API testing for Go.

    Project mention: Hacktoberfest: 69 Beginner-Friendly Projects You Can Contribute To | dev.to | 2020-09-29

    https://github.com/gavv/httpexpect End-to-end HTTP and REST API testing for Go.

  • GitHub repo gojsonq

    A simple Go package to Query over JSON/YAML/XML/CSV Data

  • GitHub repo render

    Go package for easily rendering JSON, XML, binary data, and HTML templates responses. (by unrolled)

  • GitHub repo tanka

    Flexible, reusable and concise configuration for Kubernetes

    Project mention: INTERCAL, YAML, And Other Horrible Programming Languages | reddit.com/r/programming | 2021-02-25

    Jsonnet has been serving me well. Tanka seems to fix all the remaining issues. It's not the fastest thing out there, but it's honestly easy to debug.

  • GitHub repo sjson

    Set JSON values very quickly in Go

  • GitHub repo fastjson

    Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection (by valyala)

    Project mention: JSON object of objects / Python dictionary of dictionaries (with unknown structure) | reddit.com/r/golang | 2021-04-07

    For such cases where I need to deal with complex, variable large JSON structures I use fastjson since that gives me access to the JSON structure as a node tree.

  • GitHub repo saw

    Fast, multi-purpose tool for AWS CloudWatch Logs

    Project mention: This cloudwatch UI sucks | reddit.com/r/aws | 2021-05-28

    Also, for something closer to tail, check out: https://github.com/TylerBrock/saw

  • GitHub repo jj

    JSON Stream Editor (command line utility)

    Project mention: I ported Gjson to Rust. | reddit.com/r/rust | 2021-03-27
  • GitHub repo go-json

    Fast JSON encoder/decoder compatible with encoding/json for Go

    Project mention: goccy/go-json: A super fast JSON library fully compatible with encoding/json | reddit.com/r/golang | 2021-04-02

    Rather than explore the specific issues my tests found, I started playing with running https://github.com/dvyukov/go-fuzz against go-json which seems to have fairly quickly found some issues. I've opened https://github.com/goccy/go-json/issues/174 to start the conversation about how you want to proceed here.

  • GitHub repo dasel

    Query, update and convert data structures from the command line. Comparable to jq/yq but supports JSON, TOML, YAML, XML and CSV with zero runtime dependencies.

    Project mention: Dasel – one tool to rule them all | news.ycombinator.com | 2021-06-02
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2021-06-18.

Index

What are some of the best open-source JSON projects in Go? This list will help you:

Project Stars
1 urfave/cli 15,961
2 jsoniter 9,409
3 GJSON 8,465
4 Ponzu 5,201
5 opa 5,186
6 zerolog 4,793
7 jsonparser 4,018
8 hcl 3,518
9 easyjson 3,162
10 gorequest 2,908
11 minify 2,691
12 octosql 2,434
13 nano 1,709
14 httpexpect 1,701
15 gojsonq 1,687
16 render 1,510
17 tanka 1,368
18 sjson 1,275
19 fastjson 1,248
20 saw 1,105
21 jj 1,092
22 go-json 988
23 dasel 920
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com