{"id":3418,"date":"2016-01-12T09:06:26","date_gmt":"2016-01-12T01:06:26","guid":{"rendered":"http:\/\/blog.qdac.cc\/?p=3418"},"modified":"2016-01-12T09:06:26","modified_gmt":"2016-01-12T01:06:26","slug":"qjson-%e6%9b%b4%e6%96%b0%ef%bc%9a%e4%bd%bf%e7%94%a8-equals-%e6%9d%a5%e5%88%a4%e5%ae%9a%e4%b8%a4%e4%b8%aa-json-%e7%9a%84%e5%86%85%e5%ae%b9%e6%98%af%e5%90%a6%e4%b8%80%e8%87%b4","status":"publish","type":"post","link":"https:\/\/blog.qdac.cc\/?p=3418","title":{"rendered":"[QJSON] \u66f4\u65b0\uff1a\u4f7f\u7528 Equals \u6765\u5224\u5b9a\u4e24\u4e2a JSON \u7684\u5185\u5bb9\u662f\u5426\u4e00\u81f4"},"content":{"rendered":"<p>QJSON \u65b0\u7248\u91cd\u65b0\u5b9e\u73b0\u4e86\u4e00\u4e2a Equals \u51fd\u6570\uff0c\u6765\u5224\u5b9a\u4e24\u4e2a JSON \u5bf9\u8c61\u7684\u5185\u5bb9\u662f\u5426\u4e00\u81f4\u3002\u7528\u6cd5\u4e5f\u5f88\u7b80\u5355\uff1a<\/p>\n<blockquote><p>JSON1.Equals(JSON2);<\/p><\/blockquote>\n<p>\u4e24\u4e2aJSON\u7684\u5bf9\u8c61\u7684\u5185\u5bb9\uff0c\u5982\u679c\u5b8c\u5168\u4e00\u81f4\uff0c\u5219\u8fd4\u56de True \uff0c\u5b58\u5728\u4e0d\u4e00\u81f4\u7684\u5185\u5bb9\uff0c\u5219\u8fd4\u56de False\u3002<\/p>\n<p>\u8fd9\u91cc\uff0c\u6240\u8c13\u7684\u4e00\u81f4\u662f\u6307\uff1a\u540d\u79f0\u3001\u7c7b\u578b\u548c\u503c\u4e09\u8005\u7686\u76f8\u540c\uff0c\u5982\u4e0b\u9762\u7684JSON\u5bf9\u8c61\u4e0d\u4f1a\u88ab\u8ba4\u4e3a\u662f\u4e00\u6837\u7684\uff1a<\/p>\n<blockquote><p>{&#8220;a&#8221;:100}<\/p>\n<p>{&#8220;a&#8221;:&#8221;100&#8243;}<\/p><\/blockquote>\n<p>\u539f\u56e0\u5c31\u662f\u5b83\u4eec\u7684\u7c7b\u578b\u4e0d\u4e00\u81f4\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>QJSON \u65b0\u7248\u91cd\u65b0\u5b9e\u73b0\u4e86\u4e00\u4e2a Equa [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[145,69,8,9,7],"tags":[534,241,257],"class_list":["post-3418","post","type-post","status-publish","format-standard","hentry","category-android","category-c-builder","category-delphi","category-qdac","category-qjson","tag-534","tag-241","tag-257"],"views":3190,"_links":{"self":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3418","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3418"}],"version-history":[{"count":1,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3418\/revisions"}],"predecessor-version":[{"id":3419,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=\/wp\/v2\/posts\/3418\/revisions\/3419"}],"wp:attachment":[{"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3418"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3418"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.qdac.cc\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3418"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}