RE: xml header at beginning of a JSON representation?

2010-07-30 Thread webpost
I was using 2.0-RC4. 2.0.0 is not on maven repo yet, I'll try the -SNAPSHOT. -- http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447dsMessageId=2640253

xml header at beginning of a JSON representation?

2010-07-28 Thread Daniele Dellafiore
Hi. I am new to restlet and I have coded a couple of ServerResource, the second using XStream plugin following this tutorial: http://wiki.restlet.org/docs_2.0/13-restlet/28-restlet/264-restlet.html I get an exception: org.codehaus.jettison.json.JSONException: A JSONObject text must begin with

RE: xml header at beginning of a JSON representation?

2010-07-28 Thread Thierry Boileau
Hello Daniele, this bug has been fixed a few days later (see http://www.restlet.org/documentation/2.0/jse/changes). Could you check with the latest snapshot, or the 2.0.0? Best regards, Thierry Boileau --