deserialize java object

A

Ad Ad

Hi,
I am using ruby to check some memcache keys.
the memcache values are serialized java objects.

Is it possible to read these objects in ruby and output their values?

thanks,
ad.
 
H

Hassan Schroeder

I am using ruby to check some memcache keys.
the memcache values are serialized java objects.

Is it possible to read these objects in ruby and output their values?

Haven't tried it but a google search on "deserialize java object with ruby"
led to this via the second link: http://raa.ruby-lang.org/project/javaobs/

Yes, it's old and apparently abandoned, but might give you a start :)

Remember, GIYF
 
Y

yermej

Hi,
I am using ruby to check some memcache keys.
the memcache values are serialized java objects.

Is it possible to read these objects in ruby and output their values?

thanks,
ad.

I guess jruby would be one option. You should be able to use the Java
Serialization classes directly.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top