Hi Jerome,
I'm pleased to announce Piriti 0.3.1. Piriti now supports mapping both JSON and
XML data. Here are some of the features:
- Built-in support for many types (primitives, String, Date, Enums, ..)
- Possibility to specify date and number formats
- Support for mapping arrays and collections
- Flexible XML mapping using XPath expressions
- GXT extension for mapping to GXT models
- Restlet extension built on top of the Restlet GWT edition
For the Restlet extension I implemented two representations:
- PiritiJsonRepresentation<T> which extends JsonRepresentation
- PiritiXmlRepresentation<T> which extends DomRepresentation
They use Piriti readers to map the incoming JSON value / XML document to
POJO(s).
Resources:
- Project page: http://code.google.com/p/piriti/
- Getting started: http://code.google.com/p/piriti/wiki/GettingStarted
- Restlet extension: http://code.google.com/p/piriti/wiki/RestletExtension
- Sample application: http://piriti-sample.appspot.com/
Have fun,
Harald
http://haraldpehl.blogspot.com/
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2465437