{"id":7705,"date":"2017-03-15T11:12:22","date_gmt":"2017-03-15T03:12:22","guid":{"rendered":"https:\/\/aqzt.com\/7705.html"},"modified":"2017-03-15T11:12:22","modified_gmt":"2017-03-15T03:12:22","slug":"fastjson-%e5%ae%89%e5%85%a8%e6%9b%b4%e6%96%b0%ef%bc%8c%e5%bb%ba%e8%ae%ae%e5%8d%87%e7%ba%a7%e5%88%b0-1-2-28-%e6%88%96%e6%9b%b4%e6%96%b0%e7%89%88%e6%9c%ac","status":"publish","type":"post","link":"https:\/\/aqzt.com\/7705.html","title":{"rendered":"Fastjson \u5b89\u5168\u66f4\u65b0\uff0c\u5efa\u8bae\u5347\u7ea7\u5230 1.2.28 \u6216\u66f4\u65b0\u7248\u672c"},"content":{"rendered":"<p><a href=\"https:\/\/www.oschina.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">\u6587\u7ae0\u8f6c\u8f7d\u5f00\u6e90\u4e2d\u56fd<\/a><\/p>\n<h3><strong>\u5b89\u5168\u5347\u7ea7\u516c\u544a<\/strong><\/h3>\n<p>\u6700\u8fd1\u53d1\u73b0 fastjson \u5728 1.2.24 \u4ee5\u53ca\u4e4b\u524d\u7248\u672c\u5b58\u5728\u9ad8\u5371\u5b89\u5168\u6f0f\u6d1e\uff0c\u4e3a\u4e86\u4fdd\u8bc1\u7cfb\u7edf\u5b89\u5168\uff0c\u8bf7\u5347\u7ea7\u5230 1.2.28 \u6216\u8005\u66f4\u65b0\u7248\u672c\u3002<\/p>\n<h3><strong>\u66f4\u65b0\u65b9\u6cd5<\/strong><\/h3>\n<p><strong>1. Maven \u4f9d\u8d56\u914d\u7f6e\u66f4\u65b0<\/strong><\/p>\n<p>\u901a\u8fc7 maven \u914d\u7f6e\u66f4\u65b0\uff0c\u4f7f\u7528\u6700\u65b0\u7248\u672c\uff0c\u5982\u4e0b\uff1a<\/p>\n<pre>&lt;dependency&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;groupId&gt;com.alibaba&lt;\/groupId&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;artifactId&gt;fastjson&lt;\/artifactId&gt;\n&nbsp;&nbsp;&nbsp;&nbsp;&lt;version&gt;1.2.28&lt;\/version&gt;\n&lt;\/dependency&gt;<\/pre>\n<p><span class=\"cke_reset cke_widget_drag_handler_container\"><\/span><\/p>\n<p><strong>2. \u76f4\u63a5\u4e0b\u8f7d<\/strong><\/p>\n<p>1.2.28\u7248\u672c\u4e0b\u8f7d\u5730\u5740&nbsp;<a href=\"http:\/\/repo1.maven.org\/maven2\/com\/alibaba\/fastjson\/1.2.28\/\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/repo1.maven.org\/maven2\/com\/alibaba\/fastjson\/1.2.28\/<\/a><\/p>\n<h3><strong>\u5e38\u89c1\u95ee\u9898<\/strong><\/h3>\n<p><strong>1. \u5347\u7ea7\u9047\u5230\u4e0d\u517c\u5bb9\u95ee\u9898\u600e\u4e48\u529e\uff1f<\/strong><\/p>\n<p>1.2.28 \u5df2\u7ecf\u4fee\u590d\u4e86\u7edd\u5927\u591a\u6570\u517c\u5bb9\u95ee\u9898\uff0c\u4f46\u662f\u603b\u4f1a\u6709\u4e00\u4e9b\u7279\u6b8a\u7684\u7528\u6cd5\u5bfc\u81f4\u4e0d\u517c\u5bb9\uff0c\u5982\u679c\u4f60\u9047\u5230\u4e0d\u517c\u5bb9\u95ee\u9898\uff0c\u901a\u8fc7&nbsp;<a data-cke-saved-href=\"https:\/\/github.com\/alibaba\/fastjson\/wiki\/incompatible_change_list\" href=\"https:\/\/github.com\/alibaba\/fastjson\/wiki\/incompatible_change_list\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/alibaba\/fastjson\/wiki\/incompatible_change_list<\/a>&nbsp;\u67e5\u770b\u4e0d\u517c\u5bb9\u95ee\u9898\uff0c\u94fe\u63a5\u7684\u540e\u9762\u63d0\u4f9b\u4e86\u9047\u5230\u4e0d\u517c\u5bb9\u95ee\u9898\u4e4b\u540e\u7684\u4f7f\u7528\u76f8\u5e94\u7684 sec01 \u7248\u672c\u89e3\u51b3\u529e\u6cd5\u3002<\/p>\n<p><strong>2. \u5347\u7ea7\u4e4b\u540e\u62a5\u9519 autotype is not support<\/strong><\/p>\n<p>\u5b89\u5168\u5347\u7ea7\u5305\u7981\u7528\u4e86\u90e8\u5206 autotype \u7684\u529f\u80fd\uff0c\u4e5f\u5c31\u662f &quot;@type&quot; \u8fd9\u79cd\u6307\u5b9a\u7c7b\u578b\u7684\u529f\u80fd\u4f1a\u88ab\u9650\u5236\u5728\u4e00\u5b9a\u8303\u56f4\u5185\u4f7f\u7528\u3002\u5982\u679c\u4f60\u4f7f\u7528\u573a\u666f\u4e2d\u5305\u62ec\u4e86\u8fd9\u4e2a\u529f\u80fd\uff0c<a data-cke-saved-href=\"https:\/\/github.com\/alibaba\/fastjson\/wiki\/enable_autotype\" href=\"https:\/\/github.com\/alibaba\/fastjson\/wiki\/enable_autotype\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/alibaba\/fastjson\/wiki\/enable_autotype<\/a>&nbsp;\u8fd9\u91cc\u6709\u4e00\u4e2a\u4ecb\u7ecd\u5982\u4f55\u6dfb\u52a0\u767d\u540d\u5355\u6216\u8005\u6253\u5f00 autotype \u529f\u80fd\u3002<\/p>\n<p><strong>3. \u901a\u8fc7\u914d\u7f6e\u6253\u5f00 autotype \u4e4b\u540e\u662f\u5426\u5b58\u5728\u5b89\u5168\u6f0f\u6d1e<\/strong><\/p>\n<p>\u5728 1.2.28 \u4ee5\u53ca\u6240\u6709\u7684 .sec01 \u7248\u672c\u4e2d\uff0c\u6709\u591a\u91cd\u4fdd\u62a4\uff0c\u4f46\u6253\u5f00 autotype \u4e4b\u540e\u4ecd\u4f1a\u5b58\u5728\u98ce\u9669\uff0c\u4e0d\u5efa\u8bae\u6253\u5f00\uff0c\u800c\u662f\u4f7f\u7528\u4e00\u4e2a\u8f83\u5c0f\u8303\u56f4\u7684\u767d\u540d\u5355\u3002<\/p>\n<p><strong>4. Android\u73af\u5883\u4f7f\u7528\u662f\u5426\u9700\u8981\u5347\u7ea7<\/strong><\/p>\n<p>\u76ee\u524d\u672a\u53d1\u73b0\u6f0f\u6d1e\u5bf9 Android \u7cfb\u7edf\u4ea7\u751f\u5f71\u54cd\uff0c\u5728 Android \u73af\u5883\u4e2d\u4f7f\u7528\u4e0d\u7528\u5347\u7ea7\u3002<\/p>\n<p>\u6765\u81ea\uff1a<a data-cke-saved-href=\"https:\/\/github.com\/alibaba\/fastjson\/wiki\/security_update_20170315\" href=\"https:\/\/github.com\/alibaba\/fastjson\/wiki\/security_update_20170315\" target=\"_blank\" rel=\"noopener noreferrer\">https:\/\/github.com\/alibaba\/fastjson\/wiki\/security_update_20170315<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u8f6c\u8f7d\u5f00\u6e90\u4e2d\u56fd \u5b89\u5168\u5347\u7ea7\u516c\u544a \u6700\u8fd1\u53d1\u73b0 fastjson \u5728 1.2.24 \u4ee5\u53ca\u4e4b\u524d\u7248\u672c\u5b58\u5728\u9ad8\u5371\u5b89\u5168\u6f0f\u6d1e\uff0c\u4e3a\u4e86\u4fdd\u8bc1\u7cfb\u7edf\u5b89\u5168\uff0c\u8bf7\u5347\u7ea7\u5230 1.2.28 \u6216\u8005\u66f4\u65b0\u7248\u672c\u3002 \u66f4\u65b0\u65b9\u6cd5 1. Maven \u4f9d\u8d56\u914d\u7f6e\u66f4\u65b0 \u901a\u8fc7 maven \u914d\u7f6e\u66f4\u65b0\uff0c\u4f7f\u7528\u6700\u65b0\u7248\u672c\uff0c\u5982\u4e0b\uff1a &lt;dependency&gt; &nbsp;&nbsp;&nbsp;&nbsp;&lt;groupId&gt;com.alibaba&lt;\/groupId&gt; &nbsp;&nbsp;&nbsp;&nbsp;&lt;artifactId&gt;fas<\/p>\n","protected":false},"author":1,"featured_media":6522,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_bbp_topic_count":0,"_bbp_reply_count":0,"_bbp_total_topic_count":0,"_bbp_total_reply_count":0,"_bbp_voice_count":0,"_bbp_anonymous_reply_count":0,"_bbp_topic_count_hidden":0,"_bbp_reply_count_hidden":0,"_bbp_forum_subforum_count":0,"footnotes":""},"categories":[2],"tags":[292,9,85,11],"collection":[],"_links":{"self":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/posts\/7705"}],"collection":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/comments?post=7705"}],"version-history":[{"count":0,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/posts\/7705\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/media\/6522"}],"wp:attachment":[{"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/media?parent=7705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/categories?post=7705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/tags?post=7705"},{"taxonomy":"collection","embeddable":true,"href":"https:\/\/aqzt.com\/wp-json\/wp\/v2\/collection?post=7705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}