This repository was archived by the owner on Oct 23, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Android版本
wenshao edited this page Oct 4, 2014
·
31 revisions
Fastjson提供Android版本,和标准版本相比,Android版本去掉一些Android虚拟机dalvik不支持的功能,使得jar更小。
Dalvik虚拟机的字节码格式和Java SE不一样,目前的ASM动态优化无法在Android上实现。
Android上的Dalvik虚拟机不支持awt,所以去掉标准版本的awt相关类序列化和反序列化的支持。
AtomicXXX不应该作为POJO的属性,不常用,所以在Android版本中去掉了。
public abstract class JSON {
parseObject(byte[] input, int off, int len, CharsetDecoder charsetDecoder, Type clazz,
Feature... features) { ... }
}
目前只有快照版本: http://repo1.maven.org/maven2/com/alibaba/fastjson/1.1.33.android/ http://repo1.maven.org/maven2/com/alibaba/fastjson/1.1.34.android/
如有需要修改本注脚,请联系阿里巴巴,
© Alibaba Fastjson Develop Team
注明: 版权所有阿里巴巴,请注明版权所有者
If you need to amend this footnote, please contact Alibaba.
© Alibaba Fastjson Develop Team
Note: Copyright Alibaba, please indicate the copyright owner