{"id":20,"date":"2008-06-15T12:57:01","date_gmt":"2008-06-15T07:27:01","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=20"},"modified":"2016-12-19T14:35:16","modified_gmt":"2016-12-19T09:05:16","slug":"how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/","title":{"rendered":"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy"},"content":{"rendered":"<p>In this blog I want to share how to use <strong>table per sub-class<\/strong> instead of table per hierarchy, which is the <a href=\"http:\/\/www.tothenew.com\/blog\/how-to-make-bootstraping-environment-specific-in-a-grails-app\/\">default mechanism provided by Grails<\/a>.<code><\/code> I am not sure why Grails chose to use &#8220;table-per-hierarchy&#8217;. I always find it difficult to understand the table structure produced by &#8220;<strong>table-per-hierarchy<\/strong>&#8220;. Moreover, it makes things difficult for other non-grails application which need to read data from the data database. Another disadvantage is that columns cannot have a <code>\"Not Null\"<\/code> constraint applied to them at the db level.<\/p>\n<p>If you are like me and prefer to use a <strong>table-per-subclass <code><\/code><\/strong>inheritance strategy, it can be easily achieved using fantastic Grails GORM DSL.<\/p>\n<p>Simply include the following code in all your Grails domain classes.<\/p>\n<pre lang=\"groovy\">   static mapping = {\r\n   tablePerHierarchy false\r\n}<\/pre>\n<p>This can be simply specified at the root class level and does-not need to be specified for all sub-classes in the hierarchy.<\/p>\n<p>Hope this helps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog I want to share how to use table per sub-class instead of table per hierarchy, which is the default mechanism provided by Grails. I am not sure why Grails chose to use &#8220;table-per-hierarchy&#8217;. I always find it difficult to understand the table structure produced by &#8220;table-per-hierarchy&#8220;. Moreover, it makes things difficult for [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":26,"footnotes":""},"categories":[7],"tags":[29,4840],"class_list":["post-20","post","type-post","status-publish","format-standard","hentry","category-grails","tag-gorm","tag-grails"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"In this blog I want to share how to use table per sub-class instead of table per hierarchy, which is the default mechanism provided by Grails. I am not sure why Grails chose to use &quot;table-per-hierarchy&#039;. I always find it difficult to understand the table structure produced by &quot;table-per-hierarchy&quot;. Moreover, it makes things difficult for\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Deepak\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"In this blog I want to share how to use table per sub-class instead of table per hierarchy, which is the default mechanism provided by Grails. I am not sure why Grails chose to use &quot;table-per-hierarchy&#039;. I always find it difficult to understand the table structure produced by &quot;table-per-hierarchy&quot;. Moreover, it makes things difficult for\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"article:tag\" content=\"grails\" \/>\n\t\t<meta property=\"article:tag\" content=\"gorm\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-06-15T07:27:01+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2016-12-19T09:05:16+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"In this blog I want to share how to use table per sub-class instead of table per hierarchy, which is the default mechanism provided by Grails. I am not sure why Grails chose to use &quot;table-per-hierarchy&#039;. I always find it difficult to understand the table structure produced by &quot;table-per-hierarchy&quot;. Moreover, it makes things difficult for\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\\\/#article\",\"name\":\"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy | TO THE NEW Blog\",\"headline\":\"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2008-06-15T12:57:01+05:30\",\"dateModified\":\"2016-12-19T14:35:16+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":3,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\\\/#webpage\"},\"articleSection\":\"Grails, GORM, Grails\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"position\":2,\"name\":\"Grails\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\\\/#listItem\",\"name\":\"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\\\/#listItem\",\"position\":3,\"name\":\"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/admin\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/admin\\\/\",\"name\":\"Deepak\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0707e9f5d93472c1d7bc0afaf21c81e0d6df62135f7e1426eb9e78bdd944f149?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Deepak\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\\\/\",\"name\":\"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy | TO THE NEW Blog\",\"description\":\"In this blog I want to share how to use table per sub-class instead of table per hierarchy, which is the default mechanism provided by Grails. I am not sure why Grails chose to use \\\"table-per-hierarchy'. I always find it difficult to understand the table structure produced by \\\"table-per-hierarchy\\\". Moreover, it makes things difficult for\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/admin\\\/#author\"},\"datePublished\":\"2008-06-15T12:57:01+05:30\",\"dateModified\":\"2016-12-19T14:35:16+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy | TO THE NEW Blog","description":"In this blog I want to share how to use table per sub-class instead of table per hierarchy, which is the default mechanism provided by Grails. I am not sure why Grails chose to use \"table-per-hierarchy'. I always find it difficult to understand the table structure produced by \"table-per-hierarchy\". Moreover, it makes things difficult for","canonical_url":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/#article","name":"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy | TO THE NEW Blog","headline":"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/admin\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2008-06-15T12:57:01+05:30","dateModified":"2016-12-19T14:35:16+05:30","inLanguage":"en-US","commentCount":3,"mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/#webpage"},"articleSection":"Grails, GORM, Grails"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/www.tothenew.com\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/#listItem","name":"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/#listItem","position":3,"name":"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/admin\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/admin\/","name":"Deepak","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/0707e9f5d93472c1d7bc0afaf21c81e0d6df62135f7e1426eb9e78bdd944f149?s=96&d=mm&r=g","width":96,"height":96,"caption":"Deepak"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/","name":"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy | TO THE NEW Blog","description":"In this blog I want to share how to use table per sub-class instead of table per hierarchy, which is the default mechanism provided by Grails. I am not sure why Grails chose to use \"table-per-hierarchy'. I always find it difficult to understand the table structure produced by \"table-per-hierarchy\". Moreover, it makes things difficult for","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/admin\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/admin\/#author"},"datePublished":"2008-06-15T12:57:01+05:30","dateModified":"2016-12-19T14:35:16+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"article","og:title":"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy | TO THE NEW Blog","og:description":"In this blog I want to share how to use table per sub-class instead of table per hierarchy, which is the default mechanism provided by Grails. I am not sure why Grails chose to use &quot;table-per-hierarchy'. I always find it difficult to understand the table structure produced by &quot;table-per-hierarchy&quot;. Moreover, it makes things difficult for","og:url":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","article:tag":["grails","gorm"],"article:published_time":"2008-06-15T07:27:01+00:00","article:modified_time":"2016-12-19T09:05:16+00:00","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy | TO THE NEW Blog","twitter:description":"In this blog I want to share how to use table per sub-class instead of table per hierarchy, which is the default mechanism provided by Grails. I am not sure why Grails chose to use &quot;table-per-hierarchy'. I always find it difficult to understand the table structure produced by &quot;table-per-hierarchy&quot;. Moreover, it makes things difficult for","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"20","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":"","og_description":"","og_object_type":"article","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":"","og_article_tags":"","twitter_use_og":false,"twitter_card":"summary","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-30 01:12:33","updated":"2024-02-29 09:34:09","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tHow to use table-per-subclass inheritance strategy instead of table-per-hierarchy\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Grails","link":"https:\/\/www.tothenew.com\/blog\/category\/grails\/"},{"label":"How to use table-per-subclass inheritance strategy instead of table-per-hierarchy","link":"https:\/\/www.tothenew.com\/blog\/how-to-use-table-per-subclass-inheritance-strategy-instead-of-table-per-hierarchy\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/20","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=20"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/20\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=20"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=20"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=20"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}