fastjson-1.2.11 发布

OPEN编辑 8年前
   <p style="text-align:center"><img alt="" src="https://simg.open-open.com/show/21f1d2839902603520d8354855167aa3.jpg" /></p>    <h2>Bug Fixed</h2>    <ol>     <li>修复在某些场景下,List<String>字段序列化后结果不对的问题。这问题因1.2.10优化引起,在此版本1.2.11中修复。</li>     <li>修复FastJsonHttpMessageConverter和spring 4.x版本不兼容的问题 <a href="/misc/goto?guid=4958990145394081512">Issue591</a> <a href="/misc/goto?guid=4958990145550941027">Issue574</a> <a href="/misc/goto?guid=4958990145705978109">Issue577</a></li>    </ol>    <h2>功能增强</h2>    <ol>     <li>新增<a href="/misc/goto?guid=4958990061510431255">Class Level SerializeSerializeFilter</a>功能,允许将SerializeSerializeFilter注册到Class级别</li>     <li>JSON类新增API,parseObject对InputStream直接支持。<a href="/misc/goto?guid=4958990145890455350">https://github.com/alibaba/fastjson/wiki/JSON_parseObject_InputStream_cn</a></li>     <li>JSON类新增API writeJSONString对OutputStream/Writer直接支持。<a href="/misc/goto?guid=4958990146023447680">https://github.com/alibaba/fastjson/wiki/JSON_writeJSONString_cn</a></li>     <li>JSONType新增加seeAlso配置,类似JAXB中的XmlSeeAlso,允许输出更短的className名称。<a href="/misc/goto?guid=4958990146154952418">https://github.com/alibaba/fastjson/wiki/JSONType_seeAlso_cn</a></li>     <li>增强对<a href="/misc/goto?guid=4958990146277975131">BeanToArray</a>模式的支持</li>    </ol>    <h2>性能提升</h2>    <p>在fastjson-1.2.11版本中,序列化性能有了很大提升,总体性能远超过jackson的普通模式和afterburn模式。<a href="/misc/goto?guid=4958990146277975131">BeanToArray</a>模式的提升更是明显,在BeanToArray模式下,eishay的测试已经超越protobuf。具体测试报告看这里 <a href="/misc/goto?guid=4958990146431071217">https://github.com/alibaba/fastjson/wiki/Benchmark_1_2_11</a></p>    <p>相关链接</p>    <ul>     <li>下载 <a href="/misc/goto?guid=4958990146569093652">http://repo1.maven.org/maven2/com/alibaba/fastjson/1.2.11/</a></li>     <li>文档<a href="/misc/goto?guid=4958989962057170407">https://github.com/alibaba/fastjson/wiki/%E5%B8%B8%E8%A7%81%E9%97%AE%E9%A2%98</a></li>     <li>源码 <a href="/misc/goto?guid=4958990146712074051">https://github.com/alibaba/fastjson/tree/1.2.11_release</a></li>    </ul>    <h2>Downloads</h2>    <ul>     <li><a href="/misc/goto?guid=4958990146800814082" rel="nofollow"><strong>Source code</strong> (zip)</a></li>     <li><a href="/misc/goto?guid=4958990146894728741" rel="nofollow"><strong>Source code</strong> (tar.gz)</a></li>    </ul>    <p style="text-align:center"> </p>