Quantcast
Channel: Memcache Serializable JSONObject? - Stack Overflow
Browsing latest articles
Browse All 4 View Live

Answer by Maxim Veksler for Memcache Serializable JSONObject?

I have found http://code.google.com/p/json-simple/ to be API compatible implementation of org.json.JSONObject. It does not have all the getDouble, getLong, getJSONArray methods but other then that the...

View Article



Answer by Erhan Bagdemir for Memcache Serializable JSONObject?

if you use org.json.JSONObject, it doesn't implement the Serializable interface. For that reason it can't be serialized. Instead, you can put the String version of JSONObject into MemCache.

View Article

Answer by gabuzo for Memcache Serializable JSONObject?

JSONObjects are meant be sent as simple strings. So instead of storing the Java serialized form of your JSONObjects you should store the stringified forms.

View Article

Memcache Serializable JSONObject?

I'm using json.org JSONObject. I've tried to serialize it to memcache and got the not so cool java.io.NotSerializableException: org.json.JSONObject. Looking at the JSONObject code it seems that it's...

View Article
Browsing latest articles
Browse All 4 View Live


Latest Images