398 Resources
Golang json Libraries
Export the private key from a Swarm json key file
exportSwarmKey Currently it is a pain in the A** to export bee key in to metamask as they are not compatible. This programe will export the private ke
TeslaMateApi is a RESTful API to get data collected by self-hosted data logger TeslaMate in JSON
TeslaMateApi is a RESTful API to get data collected by self-hosted data logger TeslaMate in JSON.
A tools to find the path of a specific key in deep nested JSON.
如何快速从深层嵌套 JSON 中找到特定的 Key #公众号 在爬虫开发的过程中,我们经常遇到一些 Ajax 加载的接口会返回 JSON 数据。
ESME is a go library that allows you to mock a RESTful service by defining the configuration in json format
ESME is a go library that allows you to mock a RESTful service by defining the configuration in json format. This service can then simply be consumed by any client to get the expected response.
gRPC to JSON proxy generator following the gRPC HTTP spec
The gRPC-Gateway is a plugin of the Google protocol buffers compiler protoc. It reads protobuf service definitions and generates a reverse-proxy server which translates a RESTful HTTP API into gRPC. This server is generated according to the google.api.http annotations in your service definitions.
CLI tool to handle JSON logs
logit is a CLI tool that consumes logs in JSON and feeds them into a logs storage like file, Amazon CloudWatch, or Slack.
Fast JSON encoder/decoder compatible with encoding/json for Go
Fast JSON encoder/decoder compatible with encoding/json for Go
xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便
xorm是一个简单而强大的Go语言ORM库,通过它可以使数据库操作非常简便。本库是基于原版xorm的定制增强版本,为xorm提供类似ibatis的配置文件及动态SQL支持,支持AcitveRecord操作
converts text-formats from one to another, it is very useful if you want to re-format a json file to yaml, toml to yaml, csv to yaml, ... etc
re-txt reformates a text file from a structure to another, i.e: convert from json to yaml, toml to json, ... etc Supported Source Formats json yaml hc
A JSON stream parser for Go
pjson A JSON stream parser for Go Example The example below prints all string values from a JSON document. package
Generates data structure definitions from JSON files for any kind of programming language
Overview Archivist generates data structure definitions from JSON files for any kind of programming language. It also provides a library for golang to
Tool that can parse Go files into an abstract syntax tree and translate it to several programming languages.
GoDMT GoDMT, the one and only Go Data Model Translator. The goal of this project is to provide a tool that can parse Go files that include var, const,
Parsing JSON is a hassle in golang
GoJSON Parsing JSON is a hassle in golang. This package will allow you to parse and search elements in a json without structs. Install gojson go get g
GoRequest -- Simplified HTTP client ( inspired by nodejs SuperAgent )
GoRequest GoRequest -- Simplified HTTP client ( inspired by famous SuperAgent lib in Node.js ) "Shooting Requests like a Machine Gun" - Gopher Sending
A Go framework for building JSON web services inspired by Dropwizard
Tiger Tonic A Go framework for building JSON web services inspired by Dropwizard. If HTML is your game, this will hurt a little. Like the Go language
A simple blog framework built with GO. Uses HTML files and a JSON dict to give you more control over your content.
Go-Blog A simple template based blog framework. Instructions Built for GO version: 1 See the Documentation or Getting Started pages in the wiki. Notes
RTS: request to struct. Generates Go structs from JSON server responses.
RTS: Request to Struct Generate Go structs definitions from JSON server responses. RTS defines type names using the specified lines in the route file
Find outdated dependencies of your Go projects. go-mod-outdated provides a table view of the go list -u -m -json all command which lists all dependencies of a Go project and their available minor and patch updates. It also provides a way to filter indirect dependencies and dependencies without updates.
go-mod-outdated An easy way to find outdated dependencies of your Go projects. go-mod-outdated provides a table view of the go list -u -m -json all co
XPath package for Golang, supports HTML, XML, JSON document query.
XPath XPath is Go package provides selecting nodes from XML, HTML or other documents using XPath expression. Implementation htmlquery - an XPath query
Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go
Package renderer Simple, lightweight and faster response (JSON, JSONP, XML, YAML, HTML, File) rendering package for Go Installation Install the packag
Go package for easily rendering JSON, XML, binary data, and HTML templates responses.
Render Render is a package that provides functionality for easily rendering JSON, XML, text, binary data, and HTML templates. This package is based on
Go package that handles HTML, JSON, XML and etc. responses
gores http response utility library for Go this package is very small and lightweight, useful for RESTful APIs. installation go get github.com/alioygu
Go net/http handler to transparently manage posted JSON
Go JSON handler FormJSON is a net/http handler implementing content negotiation for posted data in order to transparently expose posted JSON as if it
jio is a json schema validator similar to joi
jio Make validation simple and efficient ! 中文文档 Why use jio? Parameter validation in Golang is really a cursing problem. Defining tags on structs is n
Golang client for ethereum json rpc api
Ethrpc Golang client for ethereum JSON RPC API. web3_clientVersion web3_sha3 net_version net_peerCount net_listening eth_protocolVersion eth_syncing e
Convert xml and json to go struct
xj2go The goal is to convert xml or json file to go struct file. Usage Download and install it: $ go get -u -v github.com/wk30/xj2go/cmd/... $ xj [-t
omniparser: a native Golang ETL streaming parser and transform library for CSV, JSON, XML, EDI, text, etc.
omniparser Omniparser is a native Golang ETL parser that ingests input data of various formats (CSV, txt, fixed length/width, XML, EDI/X12/EDIFACT, JS
Decode / encode XML to/from map[string]interface{} (or JSON); extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.
mxj - to/from maps, XML and JSON Decode/encode XML to/from map[string]interface{} (or JSON) values, and extract/modify values from maps by key or key-
Parse RSS, Atom and JSON feeds in Go
gofeed The gofeed library is a robust feed parser that supports parsing both RSS, Atom and JSON feeds. The library provides a universal gofeed.Parser
Quick and easy expression matching for JSON schemas used in requests and responses
schema schema makes it easier to check if map/array structures match a certain schema. Great for testing JSON API's or validating the format of incomi
A Go test assertion library for verifying that two representations of JSON are semantically equal
jsonassert is a Go test assertion library for verifying that two representations of JSON are semantically equal. Usage Create a new *jsonassert.Assert
End-to-end HTTP and REST API testing for Go.
httpexpect Concise, declarative, and easy to use end-to-end HTTP and REST API testing for Go (golang). Basically, httpexpect is a set of chainable bui
Library created for testing JSON against patterns.
Gomatch Library created for testing JSON against patterns. The goal was to be able to validate JSON focusing only on parts essential in given test cas
Expressive end-to-end HTTP API testing made easy in Go
baloo Expressive and versatile end-to-end HTTP API testing made easy in Go (golang), built on top of gentleman HTTP client toolkit. Take a look to the
Stream database events from PostgreSQL to Kafka
PSQL-Streamer This service receives the database events from PostgreSQL using logical replication protocol and feeds them to sinks based on the config
A proxy server than converts JSON request bodies to protocol buffers
Welcome to Protoxy 👋 What is Protoxy? Protoxy allows you to test your REST APIs that use Protocol Buffer serialization through Postman and other API
Easily and dynamically generate maps from Go static structures
structomap This package helps you to transform your struct into map easily. It provides a structomap.Serializer interface implemented by the structoma
A high-performance 100% compatible drop-in replacement of "encoding/json"
A high-performance 100% compatible drop-in replacement of "encoding/json" You can also use thrift like JSON using thrift-iterator Benchmark Source cod
idiomatic codec and rpc lib for msgpack, cbor, json, etc. msgpack.org[Go]
go-codec This repository contains the go-codec library, the codecgen tool and benchmarks for comparing against other libraries. This is a High Perform
Generate TypeScript interfaces from Go structs/interfaces - useful for JSON RPC
bel Generate TypeScript interfaces from Go structs/interfaces - useful for JSON RPC bel is used in production in https://gitpod.io. Getting started be
json slicer
JSON Slice What is it? JSON Slice is a Go package which allows to execute fast jsonpath queries without unmarshalling the whole data. Sometimes you ne
JSON query expression library in Golang.
jsonql JSON query expression library in Golang. This library enables query against JSON. Currently supported operators are: (precedences from low to h
A simple Go package to Query over JSON/YAML/XML/CSV Data
A simple Go package to Query over JSON Data. It provides simple, elegant and fast ODM like API to access, query JSON document Installation Install the
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.
dasel Dasel (short for data-selector) allows you to query and modify data structures using selector strings. Comparable to jq / yq, but supports JSON,
HTTP service to generate PDF from Json requests
pdfgen HTTP service to generate PDF from Json requests Install and run The recommended method is to use the docker container by mounting your template
A powerful zero-dependency json logger.
ZKits Logger Library About This package is a library of ZKits project. This is a zero-dependency standard JSON log library that supports structured JS
Zero Allocation JSON Logger
Zero Allocation JSON Logger The zerolog package provides a fast and simple logger dedicated to JSON output. Zerolog's API is designed to provide both
Structured Logging Made Easy
Structured Logging Made Easy Features Dependency Free Simple and Clean Interface Consistent Writer IOWriter, io.Writer wrapper FileWriter, rotating &
A simple blog framework built with GO. Uses HTML files and a JSON dict to give you more control over your content.
Go-Blog A simple template based blog framework. Instructions Built for GO version: 1 See the Documentation or Getting Started pages in the wiki. Notes
A Go framework for building JSON web services inspired by Dropwizard
Tiger Tonic A Go framework for building JSON web services inspired by Dropwizard. If HTML is your game, this will hurt a little. Like the Go language
A quick and easy way to setup a RESTful JSON API
Go-Json-Rest A quick and easy way to setup a RESTful JSON API Go-Json-Rest is a thin layer on top of net/http that helps building RESTful JSON APIs ea
Arbitrary transformations of JSON in Golang
kazaam Description Kazaam was created with the goal of supporting easy and fast transformations of JSON data with Golang. This functionality provides
Fluent API to make it easier to create Json objects.
Jsongo Fluent API to make it easier to create Json objects. Install go get github.com/ricardolonga/jsongo Usage To create this: { "name":"Ricar
Console JSON formatter with query feature
Console JSON formatter with query feature. Install: $ go get github.com/miolini/jsonf Usage: Usage of jsonf: -c=true: colorize output -d=false: de
JSON diff library for Go based on RFC6902 (JSON Patch)
jsondiff jsondiff is a Go package for computing the diff between two JSON documents as a series of RFC6902 (JSON Patch) operations, which is particula
Create go type representation from json
json2go Package json2go provides utilities for creating go type representation from json inputs. Json2go can be used in various ways: CLI tool Web pag
Fast and flexible JSON encoder for Go
Jettison Jettison is a fast and flexible JSON encoder for the Go programming language, inspired by bet365/jingo, with a richer features set, aiming at
A JSON diff utility
JayDiff A JSON diff utility. Install Downloading the compiled binary Download the latest version of the binary: releases extract the archive and place
Automatically generate Go (golang) struct definitions from example JSON
gojson gojson generates go struct definitions from json or yaml documents. Example $ curl -s https://api.github.com/repos/chimeracoder/gojson | gojson
JSON query in Golang
gojq JSON query in Golang. Install go get -u github.com/elgs/gojq This library serves three purposes: makes parsing JSON configuration file much easie
A Go package for handling common HTTP JSON responses.
go-respond A Go package for handling common HTTP JSON responses. Installation go get github.com/nicklaw5/go-respond Usage The goal of go-respond is to
Get JSON values quickly - JSON parser for Go
get json values quickly GJSON is a Go package that provides a fast and simple way to get values from a json document. It has features such as one line
Small utility to create JSON objects
gjo Small utility to create JSON objects. This was inspired by jpmens/jo. Support OS Mac Linux Windows Requirements Go 1.1.14~ Git Installtion Build $
Fast JSON parser and validator for Go. No custom structs, no code generation, no reflection
fastjson - fast JSON parser and validator for Go Features Fast. As usual, up to 15x faster than the standard encoding/json. See benchmarks. Parses arb
Abstract JSON for golang with JSONPath support
Abstract JSON Abstract JSON is a small golang package provides a parser for JSON with support of JSONPath, in case when you are not sure in its struct
Go package to quick and easy create json data in geojson format.
#GEOJSON Go package to easy and quick create datastructure which can be serialized to geojson format INSTALLATION $ go get github.com/kpawlik/geojson
A lightweight go library for parsing form data or json from an http.Request.
Forms Forms is a lightweight, but incredibly useful go library for parsing form data from an http.Request. It supports multipart forms, url-encoded fo
Lightweight, facility, high performance golang based game server framework
Nano Nano is an easy to use, fast, lightweight game server networking library for Go. It provides a core network architecture and a series of tools an
A simple go implementation of json rpc 2.0 client over http
JSON-RPC 2.0 Client for golang A go implementation of an rpc client using json as data format over http. The implementation is based on the JSON-RPC 2
The jsonrpc package helps implement of JSON-RPC 2.0
jsonrpc About Simple, Poetic, Pithy. No reflect package. But reflect package is used only when invoke the debug handler. Support GAE/Go Standard Envir
A fast ISO8601 date parser for Go
A fast ISO8601 date parser for Go go get github.com/relvacode/iso8601 The built-in RFC3333 time layout in Go is too restrictive to support any ISO860
Golang client for redislabs' ReJSON module with support for multilple redis clients (redigo, go-redis)
Go-ReJSON - a golang client for ReJSON (a JSON data type for Redis) Go-ReJSON is a Go client for ReJSON Redis Module. ReJSON is a Redis module that im
A tiny Golang JSON database
Scribble A tiny JSON database in Golang Installation Install using go get github.com/nanobox-io/golang-scribble. Usage // a new scribble driver, provi
Decode / encode XML to/from map[string]interface{} (or JSON); extract values with dot-notation paths and wildcards. Replaces x2j and j2x packages.
mxj - to/from maps, XML and JSON Decode/encode XML to/from map[string]interface{} (or JSON) values, and extract/modify values from maps by key or key-
Govalid is a data validation library that can validate most data types supported by golang
Govalid is a data validation library that can validate most data types supported by golang. Custom validators can be used where the supplied ones are not enough.
Nullable Go types that can be marshalled/unmarshalled to/from JSON.
Nullable Go types Description This package provides nullable Go types for bool, float64, int64, int32, string and time.Time replacing sql.NullString,
ID type with marshalling to/from hash to prevent sending IDs to clients.
Hide IDs Hide is a simple package to provide an ID type that is marshalled to/from a hash string. This prevents sending technical IDs to clients and c
GoDS (Go Data Structures). Containers (Sets, Lists, Stacks, Maps, Trees), Sets (HashSet, TreeSet, LinkedHashSet), Lists (ArrayList, SinglyLinkedList, DoublyLinkedList), Stacks (LinkedListStack, ArrayStack), Maps (HashMap, TreeMap, HashBidiMap, TreeBidiMap, LinkedHashMap), Trees (RedBlackTree, AVLTree, BTree, BinaryHeap), Comparators, Iterators, Enumerables, Sort, JSON
GoDS (Go Data Structures) Implementation of various data structures and algorithms in Go. Data Structures Containers Lists ArrayList SinglyLinkedList
An implementation of JOSE standards (JWE, JWS, JWT) in Go
Go JOSE Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. This includes support for JSO
A JSON diff utility
JayDiff A JSON diff utility. Install Downloading the compiled binary Download the latest version of the binary: releases extract the archive and place
Automatically generate Go (golang) struct definitions from example JSON
gojson gojson generates go struct definitions from json or yaml documents. Example $ curl -s https://api.github.com/repos/chimeracoder/gojson | gojson
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.
dasel Dasel (short for data-selector) allows you to query and modify data structures using selector strings. Comparable to jq / yq, but supports JSON,
Light weight, extensible configuration management library for Go. Built in support for JSON, TOML, YAML, env, command line, file, S3 etc. Alternative to viper.
koanf (pronounced conf; a play on the Japanese Koan) is a library for reading configuration from different sources in different formats in Go applicat
🛠 A configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP
config A small configuration library for Go that parses environment variables, JSON files, and reloads automatically on SIGHUP. Example func main() {
go implementation of lightbend's HOCON configuration library https://github.com/lightbend/config
HOCON (Human-Optimized Config Object Notation) Configuration library for working with the Lightbend's HOCON format. HOCON is a human-friendly JSON sup
📝 Go config manage(load,get,set). support JSON, YAML, TOML, INI, HCL, ENV and Flags. Multi file load, data override merge, parse ENV var. Go应用配置加载管理,支持多种格式,多文件加载,远程文件加载,支持数据合并,解析环境变量名
Config Golang's application config manage tool library. 中文说明 Features Support multi format: JSON(default), INI, YAML, TOML, HCL, ENV, Flags JSON conte
goconfig uses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configuration file.
goconfig goconfig uses a struct as input and populates the fields of this struct with parameters from command line, environment variables and configur
A minimalist Go configuration library
fig fig is a tiny library for loading an application's config file and its environment into a Go struct. Individual fields can have default values def
Library providing routines to merge and validate JSON, YAML and/or TOML files
CONFLATE Library providing routines to merge and validate JSON, YAML, TOML files and/or structs (godoc) Typical use case: Make your application config
JSON or YAML configuration wrapper with convenient access methods.
Config Package config provides convenient access methods to configuration stored as JSON or YAML. This is a fork of the original version. This version
A simple, fast, and fun package for building command line apps in Go
cli cli is a simple, fast, and fun package for building command line apps in Go. The goal is to enable developers to write fast and distributable comm
A collection of CLI argument types for the Go `flag` package.
flagvar A collection of CLI argument types for the flag package. import "github.com/sgreben/flagvar" Or just copy & paste what you need. It's public d
The Tenyks IRC bot.
Tenyks is a computer program designed to relay messages between connections to IRC networks and custom built services written in any number of languages.
Golang implementation of JSON Web Tokens (JWT)
jwt-go A go (or 'golang' for search engine friendliness) implementation of JSON Web Tokens NEW VERSION COMING: There have been a lot of improvements s
This package provides json web token (jwt) middleware for goLang http servers
jwt-auth jwt auth middleware in goLang. If you're interested in using sessions, checkout my sessions library! README Contents: Quickstart Performance
Safe, simple and fast JSON Web Tokens for Go
jwt JSON Web Token for Go RFC 7519, also see jwt.io for more. The latest version is v3. Rationale There are many JWT libraries, but many of them are h
JSON Web Token library
About … a JSON Web Token (JWT) library for the Go programming language. Feature complete Full test coverage Dependency free Key management The API enf
An implementation of JOSE standards (JWE, JWS, JWT) in Go
Go JOSE Package jose aims to provide an implementation of the Javascript Object Signing and Encryption set of standards. This includes support for JSO