Re: Play 2.6.x : API's response json string instead of json object after upgrading to 2.6.x from 2.5.x

45 views
Skip to first unread message
Message has been deleted

Igmar Palsenberg

unread,
Aug 9, 2017, 3:54:10 AM8/9/17
to Play Framework
 
In a play app with v 2.5.x all the api's were returning json, (all the ajax call from frontend expects the response in json)

On upgrading to latest v2.6.x same api's are returning json string instead of json(we could handle the present situation in frontend) ,

but not sure why these rest api's are returning json string instead of json? 


want more details on the problem please do ask.

Are you actually returning a JsonNode ? Most likely not, and hence, you get a plain HTTP output.


Igmar
Reply all
Reply to author
Forward
Message has been deleted
0 new messages