PDA

View Full Version : Best practice: JSON-LIB



bkraut
22 Sep 2009, 11:24 AM
I'm using json-lib in my application. It works ok.

Except performance - when I serialize object on java side, the json-lib serializes the whole object graph. This downgrades the performance of the system emensly and raises the transmited data. I don't wan't to write custom json serialization for each object, so the question is how do you handle this?

Is there any option to set the depth level of the serialization in some json library?

Best regards,
Bojan

bkraut
23 Sep 2009, 2:06 AM
Anyone?