Description

JsonIndentMiddleware provides JSON encoding with indentation. It could be convenient to use it during development. It works by "subclassing" the responseWriter provided by the wrapping middleware, replacing the writer.EncodeJson and writer.WriteJson implementations, and making the parent implementations ignored.

JsonIndentMiddleware is referenced in 5 repositories

github.com/ant0ine/go-json-rest github.com/marconi/boltapi github.com/martensson/f5ctl

...