Bug 修复
修复在某些场景下,List
修复FastJsonHttpMessageConverter和spring 4.x版本不兼容的问题 Issue591 Issue574 Issue577
功能增强
新增Class Level SerializeSerializeFilter功能,允许将SerializeSerializeFilter注册到Class级别
JSON类新增API,parseObject对InputStream直接支持。https://github.com/alibaba/fastjson/wiki/JSON_parseObject_InputStream_cn
JSON类新增API writeJSONString对OutputStream/Writer直接支持。https://github.com/alibaba/fastjson/wiki/JSON_writeJSONString_cn
JSONType新增加seeAlso配置,类似JAXB中的XmlSeeAlso,允许输出更短的className名称。https://github.com/alibaba/fastjson/wiki/JSONType_seeAlso_cn
增强对BeanToArray模式的支持
序列化支持新特性IgnoreErrorGetter,启用后忽略报错的getter方法
性能提升
在fastjson-1.2.11版本中,序列化性能有了很大提升,总体性能远超过jackson的普通模式和afterburn模式。BeanToArray模式的提升更是明显,在BeanToArray模式下,eishay的测试已经超越protobuf。具体测试报告看这里 https://github.com/alibaba/fastjson/wiki/Benchmark_1_2_11
软件详情:http://git.oschina.net/wenshao/fastjson
下载地址:https://github.com/alibaba/fastjson/archive/1.2.11_release.tar.gz
来自:开源中国社区

