Documentation ¶ Overview ¶ Package dump contains functions used to dump JSON documents to the output of the tool. Index ¶ func Pretty(stream io.Writer, body []byte) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Pretty ¶ func Pretty(stream io.Writer, body []byte) error Pretty dumps the given data to the given stream so that it looks pretty. If the data is a valid JSON document then it will be indented before printing it. If the `jq` tools is available in the path then it will be used for syntax highlighting. Types ¶ This section is empty. Source Files ¶ View all Source files dump.go Click to show internal directories. Click to hide internal directories.