HOW C++ de-serialize a java object??????????


Java Program serialize an object and send it to a C++ program throught socket. C++ program pick up the object, but how C++ "de-serialize" a java serialized object? If this is possible, please send me detail info. Thanks.

Who is Participating?
azawawiConnect With a Mentor Commented:
Hi zollenkong,

I have done some research on the subject (since last time). I think you can implement a C++ de-serializer after reading "Java Object Serialization Specification" (available at www.javasoft).

The most interesting part for you is "Chapter 6: Object Serialization Stream Protocol" found at

I also found in the same chapter
"6.4.1 Rules of the Grammar"
"6.4.2 Terminal Symbols and Constants"


to be of value in reading a serialized objects stream.

Let me know your progress.
(Hope that helps you in your quest)
keep me posted please...
im interested in this subject :)
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.