colorjson icon indicating copy to clipboard operation
colorjson copied to clipboard

Fast Color JSON Marshaller + Pretty Printer for Golang

Results 5 colorjson issues
Sort by recently updated
recently updated
newest added

Pretty printing strings with HTML unsafe characters (e.g `

[`marshalValue`](https://github.com/TylerBrock/colorjson/blob/95ec53f28296f47af86a81eb73f0d7fe2b23a322/colorjson.go#L136) doesn't handle the wide range of values supported by `encoding/json` (such as any value implementing `json.Marshaler`) but silently fails (no output) instead of reporting an error indicating an unsupported...

I added support for various `int` and `uint` types, as well as `float32`. I understand that your library was targeting unmarshalled JSON structs, so this might not be in scope....

With this flag set to `true` (which is the default) and `f.Indent = 0`, then the behaviour is as previous, eg. ```json { "a": 5, "b": [ 1, 2, 3...

if the `f.DisabledColor` set to `true`, we should not have colored the key