{"id":179,"date":"2016-11-25T17:02:11","date_gmt":"2016-11-25T17:02:11","guid":{"rendered":"https:\/\/blog.diggernaut.com\/?p=179"},"modified":"2019-01-12T18:08:38","modified_gmt":"2019-01-12T18:08:38","slug":"json-to-xml-or-transform-in-6-seconds","status":"publish","type":"post","link":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/","title":{"rendered":"Json to XML, or &#8220;transform in 6 seconds.&#8221;"},"content":{"rendered":"<p>Hi folks. I want to share with you some details about our engine. As you know, it is written in Go. We use a lot of libraries there, and one of them &#8211; <code>mxj<\/code> &#8211; an outstanding library to work with <code>XML<\/code>.<\/p>\n<p>Now I am going to briefly tell you how our engine&#8217;s <code>json2xml<\/code> routine works. First, we convert <code>json<\/code> to the <code>map [string] interface {}<\/code>, and then feed this object to mxj following way: <code>xmlValue, err: = mxj.AnyXmlIndent (data, &quot;&quot;, &quot;&quot;, &quot;body&quot;)<\/code>. After it, we fix the <code>self-closed<\/code> tags and pass the object. We used this logic for 3 months, and everything was just fine, but suddenly it comes that we need to parse larger volumes of <code>json<\/code> than usual. So it turned out to be a problem. One of the diggers works 8 hours instead of 15 minutes. So we did the necessary research. Page processing takes 16 minutes, which, for obvious reasons, is unacceptable. It turned out that there is 2.5 MB of json. Processing takes about 3 minutes using <code>mxj<\/code> library, and then some magic happened &#8211; the engine went crazy, and it took 13 minutes to process <code>XML<\/code>. Of course, we were not happy with it, and we decided to improve <code>mxj<\/code> first.<\/p>\n<p><code>mxj<\/code> library problem lay in the fact that it uses a string concatenation. Everyone knows that the strings in Golang are immutable, respectively, each such operation allocates memory for the old string and a new string. We decided to get around and have written a few new functions, which uses <code>bytes.Buffer<\/code> instead of strings. Only by this simple change, we were able to speed up <code>XML<\/code> processing in <code>mxj<\/code> library by about 180 times. Now it takes less than 1 second to process the same set of data we used before, so we made it from 3 min to 1 sec.<\/p>\n<p>During further research we found were we made a mistake, our engine expects <code>HTML<\/code> and when we are working with <code>JSON<\/code>, it may come up that some self-closed <code>HTML<\/code> tags (like <code>img<\/code> or <code>area<\/code> etc.) are used in <code>XML<\/code> as standard tags and it caused problems, so we made another change to the library that allowed us to replace some tags with safe versions. It solved all the issues we had, and the page that previously took 15 min to process now takes just 6 sec.<\/p>\n<p>Repository with the library we modified can be found <a href=\"https:\/\/github.com\/Diggernaut\/mxj\">here<\/a>.<\/p>\n<p>As a bonus, we wrote a simple converter that allows you to load data from <code>MongoDB<\/code> and convert it to<code>XML<\/code>. You can get it <a href=\"https:\/\/github.com\/Diggernaut\/xmlconverter\">here<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Hi folks. I want to share with you some details about our engine. As you know, it is written in Go. We use a lot of libraries there, and one of them &#8211; mxj &#8211; an outstanding library to work with XML. Now I am going to briefly tell you how our engine&#8217;s json2xml routine [&hellip;]<\/p>","protected":false},"author":5,"featured_media":197,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32,27,25,24,26,2],"tags":[],"class_list":["post-179","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-codeproject","category-diggernaut-engine","category-go","category-golang","category-programming","category-web-scraping"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.5.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"Hi folks. I want to share with you some details about our engine. As you know, it is written in Go. We use a lot of libraries there, and one of them - mxj - an outstanding library to work with XML. Now I am going to briefly tell you how our engine&#039;s json2xml routine\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Evgeniy Solomanidin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/\" \/>\n\t\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.5.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Diggernaut - Leave the work to the robots\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Json to XML, or \u201ctransform in 6 seconds.\u201d - Diggernaut\" \/>\n\t\t<meta property=\"og:description\" content=\"Hi folks. I want to share with you some details about our engine. As you know, it is written in Go. We use a lot of libraries there, and one of them - mxj - an outstanding library to work with XML. Now I am going to briefly tell you how our engine&#039;s json2xml routine\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2016-11-25T17:02:11+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-01-12T18:08:38+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Json to XML, or \u201ctransform in 6 seconds.\u201d - Diggernaut\" \/>\n\t\t<meta name=\"twitter:description\" content=\"Hi folks. I want to share with you some details about our engine. As you know, it is written in Go. We use a lot of libraries there, and one of them - mxj - an outstanding library to work with XML. Now I am going to briefly tell you how our engine&#039;s json2xml routine\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/#blogposting\",\"name\":\"Json to XML, or \\u201ctransform in 6 seconds.\\u201d - Diggernaut\",\"headline\":\"Json to XML, or &#8220;transform in 6 seconds.&#8221;\",\"author\":{\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/author\\\/evgeniy\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/goxml2.jpg\",\"width\":1280,\"height\":500},\"datePublished\":\"2016-11-25T17:02:11+00:00\",\"dateModified\":\"2019-01-12T18:08:38+00:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/#webpage\"},\"articleSection\":\"CodeProject, Diggernaut Engine, Go, Golang, Programming, Web scraping\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/category\\\/web-scraping\\\/#listItem\",\"name\":\"Web scraping\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/category\\\/web-scraping\\\/#listItem\",\"position\":2,\"name\":\"Web scraping\",\"item\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/category\\\/web-scraping\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/#listItem\",\"name\":\"Json to XML, or &#8220;transform in 6 seconds.&#8221;\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/#listItem\",\"position\":3,\"name\":\"Json to XML, or &#8220;transform in 6 seconds.&#8221;\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/category\\\/web-scraping\\\/#listItem\",\"name\":\"Web scraping\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/#organization\",\"name\":\"Diggernaut\",\"description\":\"Leave the work to the robots\",\"url\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/author\\\/evgeniy\\\/#author\",\"url\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/author\\\/evgeniy\\\/\",\"name\":\"Evgeniy Solomanidin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/031410c16cbcda69336fe626afbe419707de237e72243295f724dd5f904dab87?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Evgeniy Solomanidin\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/#webpage\",\"url\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/\",\"name\":\"Json to XML, or \\u201ctransform in 6 seconds.\\u201d - Diggernaut\",\"description\":\"Hi folks. I want to share with you some details about our engine. As you know, it is written in Go. We use a lot of libraries there, and one of them - mxj - an outstanding library to work with XML. Now I am going to briefly tell you how our engine's json2xml routine\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/author\\\/evgeniy\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/author\\\/evgeniy\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/11\\\/goxml2.jpg\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/#mainImage\",\"width\":1280,\"height\":500},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/json-to-xml-or-transform-in-6-seconds\\\/#mainImage\"},\"datePublished\":\"2016-11-25T17:02:11+00:00\",\"dateModified\":\"2019-01-12T18:08:38+00:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/\",\"name\":\"Diggernaut\",\"description\":\"Leave the work to the robots\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.diggernaut.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Json to XML, or \u201ctransform in 6 seconds.\u201d - Diggernaut","description":"Hi folks. I want to share with you some details about our engine. As you know, it is written in Go. We use a lot of libraries there, and one of them - mxj - an outstanding library to work with XML. Now I am going to briefly tell you how our engine's json2xml routine","canonical_url":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/#blogposting","name":"Json to XML, or \u201ctransform in 6 seconds.\u201d - Diggernaut","headline":"Json to XML, or &#8220;transform in 6 seconds.&#8221;","author":{"@id":"https:\/\/www.diggernaut.com\/blog\/author\/evgeniy\/#author"},"publisher":{"@id":"https:\/\/www.diggernaut.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.diggernaut.com\/blog\/wp-content\/uploads\/2016\/11\/goxml2.jpg","width":1280,"height":500},"datePublished":"2016-11-25T17:02:11+00:00","dateModified":"2019-01-12T18:08:38+00:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/#webpage"},"isPartOf":{"@id":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/#webpage"},"articleSection":"CodeProject, Diggernaut Engine, Go, Golang, Programming, Web scraping"},{"@type":"BreadcrumbList","@id":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.diggernaut.com\/blog\/#listItem","position":1,"name":"Home","item":"https:\/\/www.diggernaut.com\/blog\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.diggernaut.com\/blog\/category\/web-scraping\/#listItem","name":"Web scraping"}},{"@type":"ListItem","@id":"https:\/\/www.diggernaut.com\/blog\/category\/web-scraping\/#listItem","position":2,"name":"Web scraping","item":"https:\/\/www.diggernaut.com\/blog\/category\/web-scraping\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/#listItem","name":"Json to XML, or &#8220;transform in 6 seconds.&#8221;"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.diggernaut.com\/blog\/#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/#listItem","position":3,"name":"Json to XML, or &#8220;transform in 6 seconds.&#8221;","previousItem":{"@type":"ListItem","@id":"https:\/\/www.diggernaut.com\/blog\/category\/web-scraping\/#listItem","name":"Web scraping"}}]},{"@type":"Organization","@id":"https:\/\/www.diggernaut.com\/blog\/#organization","name":"Diggernaut","description":"Leave the work to the robots","url":"https:\/\/www.diggernaut.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.diggernaut.com\/blog\/author\/evgeniy\/#author","url":"https:\/\/www.diggernaut.com\/blog\/author\/evgeniy\/","name":"Evgeniy Solomanidin","image":{"@type":"ImageObject","@id":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/031410c16cbcda69336fe626afbe419707de237e72243295f724dd5f904dab87?s=96&d=mm&r=g","width":96,"height":96,"caption":"Evgeniy Solomanidin"}},{"@type":"WebPage","@id":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/#webpage","url":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/","name":"Json to XML, or \u201ctransform in 6 seconds.\u201d - Diggernaut","description":"Hi folks. I want to share with you some details about our engine. As you know, it is written in Go. We use a lot of libraries there, and one of them - mxj - an outstanding library to work with XML. Now I am going to briefly tell you how our engine's json2xml routine","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.diggernaut.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/#breadcrumblist"},"author":{"@id":"https:\/\/www.diggernaut.com\/blog\/author\/evgeniy\/#author"},"creator":{"@id":"https:\/\/www.diggernaut.com\/blog\/author\/evgeniy\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/www.diggernaut.com\/blog\/wp-content\/uploads\/2016\/11\/goxml2.jpg","@id":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/#mainImage","width":1280,"height":500},"primaryImageOfPage":{"@id":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/#mainImage"},"datePublished":"2016-11-25T17:02:11+00:00","dateModified":"2019-01-12T18:08:38+00:00"},{"@type":"WebSite","@id":"https:\/\/www.diggernaut.com\/blog\/#website","url":"https:\/\/www.diggernaut.com\/blog\/","name":"Diggernaut","description":"Leave the work to the robots","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.diggernaut.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Diggernaut - Leave the work to the robots","og:type":"article","og:title":"Json to XML, or \u201ctransform in 6 seconds.\u201d - Diggernaut","og:description":"Hi folks. I want to share with you some details about our engine. As you know, it is written in Go. We use a lot of libraries there, and one of them - mxj - an outstanding library to work with XML. Now I am going to briefly tell you how our engine's json2xml routine","og:url":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/","article:published_time":"2016-11-25T17:02:11+00:00","article:modified_time":"2019-01-12T18:08:38+00:00","twitter:card":"summary_large_image","twitter:title":"Json to XML, or \u201ctransform in 6 seconds.\u201d - Diggernaut","twitter:description":"Hi folks. I want to share with you some details about our engine. As you know, it is written in Go. We use a lot of libraries there, and one of them - mxj - an outstanding library to work with XML. Now I am going to briefly tell you how our engine's json2xml routine"},"aioseo_meta_data":{"post_id":"179","title":null,"description":null,"keywords":null,"keyphrases":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_custom_url":null,"og_image_custom_fields":null,"og_image_width":null,"og_image_height":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"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":"none","tabs":null,"priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"created":"2024-01-14 22:52:08","updated":"2026-10-26 02:52:33","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"primary_term":null,"og_image_url":null,"twitter_image_url":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"limit_modified_date":false,"ai":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.diggernaut.com\/blog\/\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.diggernaut.com\/blog\/category\/web-scraping\/\" title=\"Web scraping\">Web scraping<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">\u00bb<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tJson to XML, or \u201ctransform in 6 seconds.\u201d\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.diggernaut.com\/blog\/"},{"label":"Web scraping","link":"https:\/\/www.diggernaut.com\/blog\/category\/web-scraping\/"},{"label":"Json to XML, or &#8220;transform in 6 seconds.&#8221;","link":"https:\/\/www.diggernaut.com\/blog\/json-to-xml-or-transform-in-6-seconds\/"}],"_links":{"self":[{"href":"https:\/\/www.diggernaut.com\/blog\/wp-json\/wp\/v2\/posts\/179","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.diggernaut.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.diggernaut.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.diggernaut.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.diggernaut.com\/blog\/wp-json\/wp\/v2\/comments?post=179"}],"version-history":[{"count":11,"href":"https:\/\/www.diggernaut.com\/blog\/wp-json\/wp\/v2\/posts\/179\/revisions"}],"predecessor-version":[{"id":670,"href":"https:\/\/www.diggernaut.com\/blog\/wp-json\/wp\/v2\/posts\/179\/revisions\/670"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.diggernaut.com\/blog\/wp-json\/wp\/v2\/media\/197"}],"wp:attachment":[{"href":"https:\/\/www.diggernaut.com\/blog\/wp-json\/wp\/v2\/media?parent=179"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.diggernaut.com\/blog\/wp-json\/wp\/v2\/categories?post=179"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.diggernaut.com\/blog\/wp-json\/wp\/v2\/tags?post=179"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}