You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jens Deppe (JIRA)" <ji...@apache.org> on 2019/04/11 13:47:00 UTC

[jira] [Created] (GEODE-6633) Remove JSON pretty printing from PdxToJSON

Jens Deppe created GEODE-6633:
---------------------------------

             Summary: Remove JSON pretty printing from PdxToJSON
                 Key: GEODE-6633
                 URL: https://issues.apache.org/jira/browse/GEODE-6633
             Project: Geode
          Issue Type: Improvement
          Components: gfsh, querying
            Reporter: Jens Deppe


This will allow gfsh query results to display as single lines and not create multi-line output in tabular results.

Currently it looks like this:
{noformat}
Command result for <query --query="select * from /BOZ.values">:
Result : true
Limit : 100
Rows : 100

name | address | street | city
------- | ------------------------------------------------ | ------- | -------
name_16 | {
"street" : "Main 16",
"city" : "City 16"
} | Main 16 | City 16
name_82 | {
"street" : "Main 82",
"city" : "City 82"
} | Main 82 | City 82
name_1 | {
"street" : "Main 1",
"city" : "City 1"
} | Main 1 | City 1
name_44 | {
"street" : "Main 44",
"city" : "City 44"
} | Main 44 | City 44
name_48 | {
"street" : "Main 48",
"city" : "City 48"
} | Main 48 | City 48{noformat}
It should be more like this:
{noformat}
Command result for <query --query="select * from /BOZ.values">:
Result : true
Limit : 100
Rows : 100


name    | address                               | street  | city
------- | ------------------------------------- | ------- | -------
name_45 | {"street":"Main 45","city":"City 45"} | Main 45 | City 45
name_3  | {"street":"Main 3","city":"City 3"}   | Main 3  | City 3
name_68 | {"street":"Main 68","city":"City 68"} | Main 68 | City 68
name_60 | {"street":"Main 60","city":"City 60"} | Main 60 | City 60
name_31 | {"street":"Main 31","city":"City 31"} | Main 31 | City 31{noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)