/ JSON

Drop-in replacement for Golang encoding/json with additional features

Drop-in replacement for Golang encoding/json with additional features

json

Drop-in replacement for Golang encoding/json with additional features.

Installation

$ go get -u github.com/clarketm/json

Usage

Same usage as Golang encoding/json.

Features

If omitempty is applied to a struct and all the children of the struct are empty, then on marshalling it will be omitted from the encoded json.

GitHub