Versions in this module Expand all Collapse all v1 v1.0.1 Feb 4, 2020 v1.0.0 Mar 25, 2019 Changes in this version + var DefaultOptions = &Options + var TerminalStyle = &Style + func Color(src []byte, style *Style) []byte + func Pretty(json []byte) []byte + func PrettyOptions(json []byte, opts *Options) []byte + func Ugly(json []byte) []byte + func UglyInPlace(json []byte) []byte + type Options struct + Indent string + Prefix string + SortKeys bool + Width int + type Style struct + Append func(dst []byte, c byte) []byte + False [2]string + Key [2]string + Null [2]string + Number [2]string + String [2]string + True [2]string