Skip to content

QianChenglong/json

 
 

Repository files navigation

json

A fork of the official Go library that allows streaming indented output.

Usage

  1. Replace import "encoding/json" with import "github.com/klauspost/json".

  2. Replace err = encoder.Encode(&entry) with err = encoder.EncodeIndent(&entry, "", " ") where you want your JSON to be indented.

About

Fork of the official Go JSON library that allows streaming indented output

Resources

License

MIT, BSD-3-Clause licenses found

Licenses found

MIT
LICENSE
BSD-3-Clause
GO_LICENSE

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 100.0%