storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kashyap Mhaisekar <>
Subject JsonElement implements Serialization
Date Mon, 04 Jan 2016 04:29:28 GMT
I was trying out gson in Storm and find that parsing is slow for my use
case. This is not related to Storm per se, but I guess many of you may have
experienced the use case below. If so, an interested in finding out your

---------- Forwarded message ----------
From: "Kashyap Mhaisekar" <>
Date: Jan 3, 2016 3:55 AM
Subject: [google-gson:2550]: JsonElement implements Serialization
To: "google-gson" <>

Is there any way the JsonElement (Specifically JsonPrimitive) can be made
serializable? I plan to persist the JsonPrimitive itself as an object in
cache so that my further process is easier. Am presently seeing that
parsing strings each time is becoming expensive in my use case.

Did anyone try and succeed to Serialize a JsonElement (JsonPrimitive)?

Please respond.


You received this message because you are subscribed to the Google Groups
"google-gson" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to
To post to this group, send email to
Visit this group at
For more options, visit

View raw message