Open eric-taix opened 13 years ago
+1 I had the same issue for JugApp. Wa have to find a way to have some raw and decorated data.
+1
On Mon, Sep 19, 2011 at 4:18 PM, Eric Taix < reply@reply.github.com>wrote:
When using reserved char (ie CTRL+CHAR - code 10), it throws a Jackson parser exception in JUGDroid.
Test to reproduce : Use initial-data.yml and with your browser type http://localhost:9000/api/members/all.json Arnaud's description has some line feeds which is not allowed except if it is escaped !
I wonder if use of "textile" is a good idea... Data must not have any view style if we want to be able to use them in different frontend. No ?
Reply to this email directly or view it on GitHub: https://github.com/Jug-Montpellier/play-Jug/issues/28
"Computers are useless. They can only give you answers."
Great ! It could be a good solution for both decorated and raw data.
This issue still exists : I had to remove all line feeds from the new b21 server data. Also double-quote must be escaped too ! The complete list of characters to encode can be found here : http://json.org/
When using reserved char (ie CTRL+CHAR - code 10), it throws a Jackson parser exception in JUGDroid.
Test to reproduce : Use initial-data.yml and with your browser type http://localhost:9000/api/members/all.json Arnaud's description has some line feeds which is not allowed except if it is escaped !
I wonder if use of "textile" is a good idea... Data must not have any view style if we want to be able to use them in different frontend. No ?