automation-tests/cmd/podman/formats
Boaz Shuster 864b9c06c0 Unescape characters in inspect JSON format output
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
2018-04-10 14:05:25 +00:00
..
formats.go Unescape characters in inspect JSON format output 2018-04-10 14:05:25 +00:00
formats_test.go Unescape characters in inspect JSON format output 2018-04-10 14:05:25 +00:00
templates.go Rename all references to kpod to podman 2017-12-18 16:46:05 +00:00