文件名称:零依赖的序列化框架Airy.zip
文件大小:96KB
文件格式:ZIP
更新时间:2022-08-08 10:50:16
开源项目
Airy 是一个简单、快速、高效、零依赖的序列化框架。安装Airy 可从 releases page 获取。Quickstart 快速上手 Airy airy = new Airy(); byte[] data = airy.serialize(someBean); SomeBean object = (SomeBean) airy.deserialize(data); // or airy.deserialize(data, SomeBean.class);是不是很简单?接下来将详细介绍框架的一些细节和高级用法。高级用法 Airy airy = new Airy(new OrderSerializer()); // use OrderSerializer instead of HashSerializer airy.registerClass(SomeBean.class); // register class to reduce the size of the serialized data airy.appendHandler(someHander); // append your owner handler byte[] data = airy.serialize(someBean); SomeBean object = (SomeBean) airy.deserialize(data); // or airy.deserialize(data, SomeBean.class); 标签:Airy
【文件预览】:
airy-master
----gradlew.bat(2KB)
----gradlew(5KB)
----gradle()
--------wrapper()
----src()
--------test()
--------main()
----.gitignore(96B)
----README.md(4KB)
----settings.gradle(27B)
----build.gradle(462B)