Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.1
-
None
Description
For managed resource GET calls I wanted JSON response.
{ "a": "b" }
Keeping
@Produces({"application/json"})
on the @GET method gives a string-serialized output of the JSON
"{\"a\":\"b\"}"
However when I keep
@Produces({"text/plain", "application/json"})
correctly produces JSON.
Temporary UI Fix: Set Accept header to "text/plain" for some requests.