Bug 906158 - Revise Support for the application/json Format
Summary: Revise Support for the application/json Format
Keywords:
Status: CLOSED DUPLICATE of bug 905210
Alias: None
Product: RHQ Project
Classification: Other
Component: REST
Version: 4.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Heiko W. Rupp
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-31 02:55 UTC by Fernando Ribeiro
Modified: 2013-02-09 22:19 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-02-07 09:35:38 UTC
Embargoed:


Attachments (Terms of Use)

Description Fernando Ribeiro 2013-01-31 02:55:56 UTC
Description of problem:

When I retrieve the "alert/count" resource in the "application/json" format, for example, the API returns values like "1" (not JSON) instead of "{result=1}" or "[1]" (JSON).

Version-Release number of selected component (if applicable):

4.5.1

How reproducible:

Steps to Reproduce:
1. Retrieve the "alert/count" resource in the "application/json" format
2. Verify that the returned value is not JSON

Actual results:

Expected results:

Additional info:

Comment 1 Heiko W. Rupp 2013-02-07 09:35:38 UTC
Not exactly a duplicate, as Bug 905210 talks about xml and this one about Json, but the internal reason is the same.

*** This bug has been marked as a duplicate of bug 905210 ***

Comment 2 Fernando Ribeiro 2013-02-09 22:19:00 UTC
Great, thanks!


Note You need to log in before you can comment on or make changes to this bug.