aws/aws-cli — pull request #639 by jamesls (2014-02-07 20:39:40+00:00)
Title: Show better error message for invalid JSON

Especially for list params, their error messages were not helpful.
Error messages now include the actual value itself, as we have seen
cases where customers specify valid JSON but the shell they're using
will process arguments and strip out characters such as quotes.
By showing the actual JSON contents it will make this more obvious.

Before:
```
The value for parameter "--" must be JSON or path to file.
```
After:
```
Error parsing parameter --block-device-mappings: Invalid JSON:
[{ ...BAD JSON CONTENTS ...}]
```