Does Eclipse have an editor/viewer for java serialized files?

后端 未结 4 1240
借酒劲吻你
借酒劲吻你 2021-02-13 13:06

I\'m serializing my objects with ObjectOutputStream(FileOutputStream(File)) and deserializing them with the analogous InputStreams. Is there a way to l

4条回答
  •  北恋
    北恋 (楼主)
    2021-02-13 14:00

    While this isn't a full fledged editor, Eamonn McManus has written a transcoder which deciphers a serialized blob into a human readable form. http://weblogs.java.net/blog/2007/06/12/disassembling-serialized-java-objects

    If binary compatibility and performance are considerations, this would be a good time to look into Externalizable instead of Serializable.

提交回复
热议问题