Inspect java serialized object without defining the object

I want to inherit and modify a Java serialized object (in a file). The file has been serialized to ObjectOutputStream

or similar. The file was not written by me and I have no class definition.

There is a python module I found that can do this , but it's broken. Is there a way to do this using Java?

the Q&A here is about reading and writing serialized objects of instances of classes you defined , but I couldn't find anything about classes / objects external to the program.

+3
java serialization deserialization


source to share


No one has answered this question yet

See similar questions:

4
De-serializing objects from file in Java

or similar:

6170
Is Java "pass-by-reference" or "pass-by-value"?
3799
How do I read / convert an InputStream to a string in Java?
3324
How to generate random integers in a specific range in Java?
3073
How to efficiently iterate over each entry in a Java map?
3044
Making a memory leak with Java
2936
When to use LinkedList over ArrayList in Java?
2853
How can I convert String to int in Java?
1567
Converting form data to JavaScript object with jQuery
1185
JSON serialization in jQuery
778
Java Efficiency "Double Bracket Initialization"?



All Articles
Loading...
X
Show
Funny
Dev
Pics