3 ms·
I did look at 2.0 when it came out, and I'm under the impression that you still need to write a custom binder. Just now I tried to look it up, but the documenta
by latch 14y ago
I did look at 2.0 when it came out, and I'm under the impression that you still need to write a custom binder. Just now I tried to look it up, but the documentation points to:
http://www.playframework.org/documentation/2.0/JavaJson http://www.playframework.org/documentation/2.0/JavaJson
which is a 404.
I also don't see a nice way to respond with the appropriate format based on the accept-header...not that you can't write that yourself.
- Ygg3 14y agoHow did you get that link? Here is what I get when I browse documentation. http://www.playframework.org/documentation/2.0.1/JavaJsonRequests http://www.playframework.org/documentation/2.0.1/JavaJsonReq...
- latch 14y agohttp://www.playframework.org/documentation/2.0/JavaRouting http://www.playframework.org/documentation/2.0/JavaRouting http://www.playframework.org/documentation/2.0/JavaXmlRequests http://www.playframework.org/documentation/2.0/JavaXmlReques... it's all over the place...search for "working with json" on those pages. Thanks for the correct link though.
- danielatc 14y agoHere the version of the documentation from the git repository: https://github.com/playframework/Play20/wiki/Javajson https://github.com/playframework/Play20/wiki/Javajson it states that the jackson library ( http://jackson.codehaus.org/ http://jackson.codehaus.org/ ) is included in the framework which allows for type safe json bindings