{"id":9904,"date":"2013-03-14T18:05:35","date_gmt":"2013-03-14T12:35:35","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=9904"},"modified":"2024-11-29T00:09:08","modified_gmt":"2024-11-28T18:39:08","slug":"groovy-tokenize-vs-split","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/","title":{"rendered":"Groovy : tokenize() vs split()"},"content":{"rendered":"<p>In the Wild West of text manipulation, Groovy offers two gunslingers for splitting strings: <strong>tokenize()<\/strong> and <strong>split()<\/strong>. They might seem like two sides of the same coin, but choosing the right one can make your code smoother than a well-oiled six-shooter.<\/p>\n<p>Below are some of the significant differences between both <strong>tokenize()<\/strong> and <strong>split()<\/strong><\/p>\n<table style=\"border-collapse: collapse; width: 100%; height: 120px;\">\n<tbody>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\"><strong>Feature\u00a0<\/strong><\/td>\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\"><strong>tokenize()\u00a0<\/strong><\/td>\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\"><strong>split()<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">Return Type<\/td>\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">List<\/td>\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">String[]<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">Handles Empty Strings<\/td>\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">Ignores empty tokens<\/td>\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">Includes empty tokens<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">Supports Regex Delimiters<\/td>\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">No<\/td>\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">Yes<\/td>\n<\/tr>\n<tr style=\"height: 24px;\">\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">Multi-character Delimiters<\/td>\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">Each character treated as a delimiter<\/td>\n<td style=\"width: 33.3333%; height: 24px; text-align: center;\">Full string used as delimiter<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<ol>\n<li>Both methods split a string into tokens but with subtle nuances. The split() method returns a string [] instance, while the tokenize() method returns a list instance.<\/li>\n<li>\u00a0tokenize(), which returns a list, will ignore an empty string (when a delimiter appears twice in succession), whereas split() keeps such string.\n<pre>[java]\r\nString testString = 'hello brother'\r\nassert testString.split() instanceof String[]\r\nassert ['hello','brother']==testString.split() \/\/split with no arguments\r\nassert['he','','o brother']==testString.split('l')\r\n\/\/ split keeps empty string\r\nassert testString.tokenize() instanceof List\r\nassert ['hello','brother']==testString.tokenize() \/\/tokenize with no arguments\r\nassert ['he','o brother']==testString.tokenize('l')\r\n\/\/tokenize ignore empty string\r\n[\/java]<\/pre>\n<\/li>\n<li>The tokenize() method uses each character of a String as a delimiter whereas split()\u00a0 takes the entire string as a delimiter\n<pre>[java]\r\nString testString='hello world'\r\nassert ['hel',' world']==testString.split('lo')\r\nassert ['he',' w','r','d']==testString.tokenize('lo')\r\n[\/java]<\/pre>\n<\/li>\n<li>The split() can take regex as a delimiter whereas tokenize does not.\n<pre>[java]\r\nString testString='hello world 123 herload'\r\nassert['hello world ',' herload']==testString.split(\/\\d{3}\/)\r\n[\/java]<\/pre>\n<p>So, next time you need to split strings in Groovy, remember these gunslingers. Choose the one that fits your task and shoot down those stringy dilemmas with ease!<\/p>\n<p>Feel free to ask our <a title=\"grails developer\" href=\"http:\/\/www.tothenew.com\/grails-application-development\" target=\"_blank\" rel=\"noopener\">grails developers<\/a>, if you have any queries<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>In the Wild West of text manipulation, Groovy offers two gunslingers for splitting strings: tokenize() and split(). They might seem like two sides of the same coin, but choosing the right one can make your code smoother than a well-oiled six-shooter. Below are some of the significant differences between both tokenize() and split() Feature\u00a0 tokenize()\u00a0 [&hellip;]<\/p>\n","protected":false},"author":69,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":6495,"footnotes":""},"categories":[7],"tags":[],"class_list":["post-9904","post","type-post","status-publish","format-standard","hentry","category-grails"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"This blog highlights the difference between tokenize() vs split() and the its usage in grails application development\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Vivek Garg\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/\" \/>\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=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Groovy : tokenize() vs split() | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"This blog highlights the difference between tokenize() vs split() and the its usage in grails application development\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/\" \/>\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 name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Groovy : tokenize() vs split() | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"This blog highlights the difference between tokenize() vs split() and the its usage in grails application development\" \/>\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\\\/groovy-tokenize-vs-split\\\/#article\",\"name\":\"Groovy : tokenize() vs split() | TO THE NEW Blog\",\"headline\":\"Groovy : tokenize() vs split()\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vivek-garg\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2013-03-14T18:05:35+05:30\",\"dateModified\":\"2024-11-29T00:09:08+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":3,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/groovy-tokenize-vs-split\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/groovy-tokenize-vs-split\\\/#webpage\"},\"articleSection\":\"Grails\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/groovy-tokenize-vs-split\\\/#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\\\/groovy-tokenize-vs-split\\\/#listItem\",\"name\":\"Groovy : tokenize() vs split()\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/groovy-tokenize-vs-split\\\/#listItem\",\"position\":3,\"name\":\"Groovy : tokenize() vs split()\",\"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\\\/vivek-garg\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vivek-garg\\\/\",\"name\":\"Vivek Garg\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/groovy-tokenize-vs-split\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/75adc3f5c0b8ea43cf85b5659848287879d4138d2a789102d95d2347b3dfdeb4?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Vivek Garg\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/groovy-tokenize-vs-split\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/groovy-tokenize-vs-split\\\/\",\"name\":\"Groovy : tokenize() vs split() | TO THE NEW Blog\",\"description\":\"This blog highlights the difference between tokenize() vs split() and the its usage in grails application development\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/groovy-tokenize-vs-split\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vivek-garg\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/vivek-garg\\\/#author\"},\"datePublished\":\"2013-03-14T18:05:35+05:30\",\"dateModified\":\"2024-11-29T00:09:08+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":"Groovy : tokenize() vs split() | TO THE NEW Blog","description":"This blog highlights the difference between tokenize() vs split() and the its usage in grails application development","canonical_url":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/#article","name":"Groovy : tokenize() vs split() | TO THE NEW Blog","headline":"Groovy : tokenize() vs split()","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/vivek-garg\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2013-03-14T18:05:35+05:30","dateModified":"2024-11-29T00:09:08+05:30","inLanguage":"en-US","commentCount":3,"mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/#webpage"},"articleSection":"Grails"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/#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\/groovy-tokenize-vs-split\/#listItem","name":"Groovy : tokenize() vs split()"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/#listItem","position":3,"name":"Groovy : tokenize() vs split()","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\/vivek-garg\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/vivek-garg\/","name":"Vivek Garg","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/75adc3f5c0b8ea43cf85b5659848287879d4138d2a789102d95d2347b3dfdeb4?s=96&d=mm&r=g","width":96,"height":96,"caption":"Vivek Garg"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/","name":"Groovy : tokenize() vs split() | TO THE NEW Blog","description":"This blog highlights the difference between tokenize() vs split() and the its usage in grails application development","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/vivek-garg\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/vivek-garg\/#author"},"datePublished":"2013-03-14T18:05:35+05:30","dateModified":"2024-11-29T00:09:08+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":"blog","og:title":"Groovy : tokenize() vs split() | TO THE NEW Blog","og:description":"This blog highlights the difference between tokenize() vs split() and the its usage in grails application development","og:url":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/","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","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Groovy : tokenize() vs split() | TO THE NEW Blog","twitter:description":"This blog highlights the difference between tokenize() vs split() and the its usage in grails application development","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"9904","title":null,"description":"This blog highlights the difference between tokenize() vs split() and the its usage in grails application development","keywords":[],"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"blog","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":null,"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":{"id":"#aioseo-article-65e03f36373fd","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","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":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2021-04-29 12:10:12","updated":"2024-11-28 18:39: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\tGroovy : tokenize() vs split()\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":"Groovy : tokenize() vs split()","link":"https:\/\/www.tothenew.com\/blog\/groovy-tokenize-vs-split\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/9904","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\/69"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=9904"}],"version-history":[{"count":3,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/9904\/revisions"}],"predecessor-version":[{"id":68846,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/9904\/revisions\/68846"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=9904"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=9904"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=9904"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}