[appengine-java] Re: How to deserialize a LIST using GSON ?

2010-12-02 Thread Valter Henrique
Hi, i found my solution here : http://stackoverflow.com/questions/4318458/how-to-deserialize-a-list-using-gson-or-another-json-to-java What you think about it ? Is a good choice ? Thanks by your answer. Best regards, Valter Henrique. On 1 dez, 18:25, Didier Durand durand.did...@gmail.com

[appengine-java] Re: How to deserialize a LIST using GSON ?

2010-12-02 Thread Didier Durand
Gson is a good solution for what you want to do. I tought that you wanted to serialize your object in the Java sense, i.e as byte[]. This is more efficient if you move from Java to Java. For example, if your client is Android. There is then no need to go through intermediate Json translations.

[appengine-java] Re: How to deserialize a LIST using GSON ?

2010-12-01 Thread Didier Durand
Hi, Can you detail how you (de) serialize ? A code snippet would definitely help. Do you use an ObjectOutputStream or something else ? Let us know so that we can provide good help. I personally use ObjectOutputStream to serialize and then ObjectInputStream to deseriliaze and didn't encounter any