{"id":225433,"date":"2017-06-29T14:13:42","date_gmt":"2017-06-29T06:13:42","guid":{"rendered":"http:\/\/magicalbits.net\/?p=225433"},"modified":"2017-06-29T14:13:42","modified_gmt":"2017-06-29T06:13:42","slug":"json-with-encoder-and-encodable-swift-unboxed","status":"publish","type":"post","link":"https:\/\/magicalbits.net\/?p=225433","title":{"rendered":"JSON with Encoder and Encodable &#8211; Swift Unboxed"},"content":{"rendered":"<blockquote><p>Rather than pore through all the source code for encoding and decoding, let\u2019s take a different approach and step through a simple example: how does a single Int instance wind its way through JSONEncoder and become JSON data?<\/p><\/blockquote>\n<p>Source: <em><a href=\"https:\/\/swiftunboxed.com\/stdlib\/json-encoder-encodable\/\">JSON with Encoder and Encodable &#8211; Swift Unboxed<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Rather than pore through all the source code for encoding and decoding, let\u2019s take a different approach and step through a simple example: how does a single Int instance wind its way through JSONEncoder and become JSON data? Source: JSON with Encoder and Encodable &#8211; Swift Unboxed<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ep_exclude_from_search":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1],"tags":[],"class_list":["post-225433","post","type-post","status-publish","format-standard","hentry","category-uncategorised"],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/225433","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=225433"}],"version-history":[{"count":1,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/225433\/revisions"}],"predecessor-version":[{"id":225434,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/225433\/revisions\/225434"}],"wp:attachment":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=225433"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=225433"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=225433"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}