{"id":1534,"date":"2016-05-06T17:31:59","date_gmt":"2016-05-06T09:31:59","guid":{"rendered":"http:\/\/magicalbits.net\/?p=1534"},"modified":"2016-05-06T17:31:59","modified_gmt":"2016-05-06T09:31:59","slug":"using-postgresql-and-jsonb-with-ruby-on-rails-nando-vieira","status":"publish","type":"post","link":"https:\/\/magicalbits.net\/?p=1534","title":{"rendered":"Using PostgreSQL and jsonb with Ruby on Rails &#8211; Nando Vieira"},"content":{"rendered":"<blockquote><p>hstore columns don\u2019t allow a nested structure; they also store all values as strings, which will require type coercion on both database and application layers. With json\/jsonb columns you don\u2019t have this problem; numbers (integers\/float), booleans, arrays, strings and nulls are accepted, and you can even nest structures in any way you want.<\/p><\/blockquote>\n<p>Source: <em><a href=\"http:\/\/nandovieira.com\/using-postgresql-and-jsonb-with-ruby-on-rails\">Using PostgreSQL and jsonb with Ruby on Rails &#8211; Nando Vieira<\/a><\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>hstore columns don\u2019t allow a nested structure; they also store all values as strings, which will require type coercion on both database and application layers. With json\/jsonb columns you don\u2019t have this problem; numbers (integers\/float), booleans, arrays, strings and nulls are accepted, and you can even nest structures in any way you want. Source: Using [&hellip;]<\/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-1534","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\/1534","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=1534"}],"version-history":[{"count":1,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/1534\/revisions"}],"predecessor-version":[{"id":1535,"href":"https:\/\/magicalbits.net\/index.php?rest_route=\/wp\/v2\/posts\/1534\/revisions\/1535"}],"wp:attachment":[{"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/magicalbits.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}