Hi Zsolt,

In order to use the transparent JSON serialization, you need to have 
"org.restlet.ext.xstream.jar" and all its dependencies (like Jettison) in your 
classpath. 

It should then be able to serialize your POJOs with no further action on your 
side :)
See the attached files for guidance.

Best regards,
Jerome Louvel
--
Restlet ~ Founder and Lead developer ~ http://www.restlet.org
Noelios Technologies ~ Co-founder ~ http://www.noelios.com




-----Message d'origine-----
De : Zsolt Czinkos [mailto:[email protected]] 
Envoyé : jeudi 6 août 2009 20:14
À : [email protected]
Objet : Re: Restlet 2.0 M4 released!

Hi Jerome,

 First of all: congratulations!

Could you point me to an example  using ConverterService? I'd like to
register my class to ConverterService, but I haven't found any
documentation yet.

I'm trying to create a simple example to have a look at the new
transparent object serialization (my class --> json and vica versa).


Thanks in advance.

Zsolt

On Thu, Aug 6, 2009 at 6:52 PM, Jerome Louvel<[email protected]> wrote:
> Hi Restleters,
>
>
>
> We are happy to announce our latest 2.0 milestone:
>
> http://blog.noelios.com/2009/08/06/restlet-2-0-m4-released/
>
>
>
> We have received an incredible amount of contributions since 2.0 M3: thank
> you all!
>
>
>
> I want also like to highlight the key work done by Thierry, behind the
> covers, to bring you a fully automated port of all editions (Java SE, Java
> EE, GWT, GAE and Android) from a single code base. He also greatly improved
> our build system to provide dedicated distributions for each edition!
>
>
>
> Best regards,
> Jerome Louvel
> --
> Restlet ~ Founder and Lead developer ~ http://www.restlet.org
> Noelios Technologies ~ Co-founder ~ http://www.noelios.com
>
>
>
>

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2380979

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2384438

Attachment: TestClientResource.java
Description: Binary data

Attachment: TestResource.java
Description: Binary data

Attachment: TestServerResource.java
Description: Binary data

Attachment: Address.java
Description: Binary data

Attachment: Customer.java
Description: Binary data

Reply via email to