Bug #81276 | Support for newlines in json output of mysqlsh | ||
---|---|---|---|
Submitted: | 2 May 2016 12:47 | Modified: | 31 May 2016 13:16 |
Reporter: | Daniël van Eeden (OCA) | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Document Store: MySQL Shell | Severity: | S3 (Non-critical) |
Version: | 1.0.3 | OS: | Any |
Assigned to: | Juan Rene Ramirez Monarrez | CPU Architecture: | Any |
[2 May 2016 12:47]
Daniël van Eeden
[2 May 2016 13:42]
MySQL Verification Team
Hello Daniël, Thank you for the report. Verified as described. Thanks, Umesh
[31 May 2016 13:16]
Erlend Dahl
Posted by developer: I don't think this is a bug when JSON output is turned ON, whatever the result of the statement execution is JSON formatted. The new lines you mention come as part of the resulting text and so they are JSON formatted as well. Doing what you request implies tweaking a result (which we don't) and may end up in invalid JSON data. For readability, the best option is to use other output format, JSON is not the best option on this case. Anyway, thanks for reviewing the shell!