简体   繁体   中英

Is it an efficient way to serialize JSON data in Java?

I don't know whether this question makes sense or not. I have huge amount of JSON data with me. I am getting that data from Server to the Client side.

Is it good idea to serialize the JSON object in server side ?

Check out GSON

Related

I have huge amount of JSON data with me.

Is it good idea to serialize the JSON object in server side ?

No. JSON is already serialized, that's the point of the format.

If you have non-JSON data that you want to deliver to the client then, unless it is a string, you have to serialize it so that it is in a transmittable format.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM