{"id":100,"date":"2023-02-18T06:38:57","date_gmt":"2023-02-17T22:38:57","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=100"},"modified":"2023-02-18T06:39:25","modified_gmt":"2023-02-17T22:39:25","slug":"fastjson-field-not-serialize","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/02\/18\/fastjson-field-not-serialize\/","title":{"rendered":"fastjson\u6307\u5b9a\u5b57\u6bb5\u4e0d\u5e8f\u5217\u5316"},"content":{"rendered":"<p>FastJson\u662f\u4e00\u6b3e\u7531\u963f\u91cc\u5df4\u5df4\u63d0\u4f9b\u7684\u6027\u80fd\u51fa\u8272\u7684json\u5e8f\u5217\u5316\u4e0e\u53cd\u5e8f\u5217\u5316\u5e93\uff0c\u800c\u4e14\u4f7f\u7528\u5f88\u65b9\u4fbf\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528<code>JSON.toJSONString(object)<\/code>\u5c06\u4e00\u4e2a\u5bf9\u8c61\u5e8f\u5217\u5316\u4e3ajson\u683c\u5f0f\uff0c\u4f46\u662f\u5982\u679c\u6211\u4eec\u4e0d\u60f3\u628a\u4e00\u4e2a\u7c7b\u7684\u6240\u6709\u6210\u5458\u90fd\u5e8f\u5217\u5316\u600e\u4e48\u529e\u5462\u3002<\/p>\n<p>\u89e3\u51b3\u8fd9\u4e2a\u95ee\u9898\u6709\u4e24\u79cd\u65b9\u5f0f\uff1a<\/p>\n<ol>\n<li>Java\u7279\u6027\uff1a\u7ed9\u4e0d\u60f3\u88ab\u5e8f\u5217\u5316\u7684\u5c5e\u6027\u589e\u52a0<code>transient<\/code>\u5c5e\u6027<\/li>\n<li>FastJson\u7279\u6027\uff1a\u7ed9\u4e0d\u60f3\u88ab\u5e8f\u5217\u5316\u7684\u5c5e\u6027\u589e\u52a0\u6ce8\u89e3<code>JSONField(serialize=false)<\/code><\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>FastJson\u662f\u4e00\u6b3e\u7531\u963f\u91cc\u5df4\u5df4\u63d0\u4f9b\u7684\u6027\u80fd\u51fa\u8272\u7684json\u5e8f\u5217\u5316\u4e0e\u53cd\u5e8f\u5217\u5316\u5e93\uff0c\u800c\u4e14\u4f7f\u7528\u5f88\u65b9\u4fbf\uff0c\u6211\u4eec\u53ef\u4ee5\u4f7f\u7528JSO [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[58],"class_list":["post-100","post","type-post","status-publish","format-standard","hentry","category-java-basic","tag-fastjson"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/100","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=100"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/100\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=100"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=100"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=100"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}