cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-10253) JSON response returns boolean as string
Date Wed, 24 Jan 2018 10:44:00 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-10253?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16337357#comment-16337357
] 

ASF GitHub Bot commented on CLOUDSTACK-10253:
---------------------------------------------

marcaurele commented on issue #2428: CLOUDSTACK-10253: JSON response for SuccessResponse as
boolean instead of string
URL: https://github.com/apache/cloudstack/pull/2428#issuecomment-360091310
 
 
   It changes the JSON output from: 
   ```json
   {"success": "true"}
   ```
   to 
   ```json
   {"success": true}
   ```
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> JSON response returns boolean as string
> ---------------------------------------
>
>                 Key: CLOUDSTACK-10253
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10253
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>            Reporter: Marc-Aurèle Brothier
>            Assignee: Marc-Aurèle Brothier
>            Priority: Minor
>
> On the SuccessResponse for async call, the boolean value is returned as a quoted boolean
string:
> {noformat}
> {"success": "true"}{noformat}
> instead of a JSON boolean:
> {noformat}
> {"success": true{noformat}



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

Mime
View raw message