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.
Ac
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 wrote:
> Hi,
>
> Can you det
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