aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/formats/formats_test.go
Commit message (Collapse)AuthorAge
* Unescape characters in inspect JSON format outputBoaz Shuster2018-04-10
This patch changes the way the inspect command output is displayed on the screen when the format is set to JSON. Note: if the output is redirected to a file the output is *not* escaped. For example, before this commit if you run: $ sudo podman inspect --format "json" daveimg [ { ... "Author": "Dave \u003cdave@corp.io\u003e", } ... ] with this patch the output will be: [ { ... "Author": "Dave <dave@corp.io>", } ... ] Signed-off-by: Boaz Shuster <ripcurld.github@gmail.com> Closes: #602 Approved by: mheon