(。・∀・)ノ゙嗨,新鲜出炉的序列化框架,用法炒鸡简单,零依赖,小伙伴们有没有兴趣试试?
Airy airy = new Airy();
byte[] data = airy.serialize(someBean);
SomeBean object = (SomeBean) airy.deserialize(data); // or airy.deserialize(data, SomeBean.class);
是不是很简单?Github在这哦:https://github.com/zhang-rf/airy