简体   繁体   English

一个库来解析java序列化对象?

[英]a library to parse java serialized objects?

java serializes objects in a well-known and published manner (there's a spec ). java以众所周知的方式序列化对象(有一个规范 )。 what im looking for is a library that can parse a binary blob of serialized objects into something like a graph of apache beanutils DynaBean 我正在寻找的是一个库,它可以将二进制blob的序列化对象解析为类似apache beanutils DynaBean的图形

such a library would be useful in case i want to "read" (and work with) serialized objects without having the classes themselves in the classpath (or, as in my case, because the classes were refactored and renamed rendering old data unreadable ...) 如果我想“读取”(和使用)序列化对象而不在类路径中拥有类本身(或者,就像在我的情况下,因为类被重构和重命名,使旧数据不可读),这样的库将是有用的。 。)

What is wrong with XML / JSON / BSON ? XML / JSON / BSON有什么问题? Well defined, widely accepted and language agnostic formats. 定义明确,广泛接受和语言不可知的格式。 There is a ton of serialisation libraries with different flavours 有大量不同风格的序列化库

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM