{"id":4583,"date":"2018-06-05T15:04:52","date_gmt":"2018-06-05T09:34:52","guid":{"rendered":"https:\/\/www.innovationm.com\/blog\/?p=4583"},"modified":"2023-01-20T18:55:41","modified_gmt":"2023-01-20T13:25:41","slug":"fragment-object-states-fragment-transactions-fragment-backstack","status":"publish","type":"post","link":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/","title":{"rendered":"Fragment Object States | Fragment Transactions | Fragment BackStack"},"content":{"rendered":"<p>In this blog, we are going to discuss about Fragment object states, Fragment transactions and Fragment BackStack behavior.<\/p>\n<p>Let&#8217;s first look at the different states of a fragment object.<\/p>\n<p>A fragment exists as :<\/p>\n<ul>\n<li><strong>Java object<\/strong><br \/>\nWhen we write,<br \/>\nFragment f = new Fragment();<br \/>\nIt exists as a simple java object but at this point FragmentManager is not aware of this object.<\/li>\n<li><strong>Associated with activity<\/strong><br \/>\nIn this step, the fragment object gets associated with the FragmentManager.<br \/>\nIt is at this point when onAttach() method inside the fragment&#8217;s lifecycle gets executed where it gets a reference to the activity&#8217;s context.<br \/>\nBut at this point, the fragment may or may not be seen by the user. (It is not necessary that every fragment has a UI).<\/li>\n<li><strong>Associated with activity + shown to the user as UI<\/strong><br \/>\nIn this step, the fragment is actually being shown to the user.<\/li>\n<\/ul>\n<p><strong>Now, what is a Fragment Transaction?<\/strong><\/p>\n<p>The idea behind the entire fragment transaction concept is that there are several fragments and you wanna manipulate several of them at the same time under single operation.<\/p>\n<p><strong>Steps of a fragment transaction are :<\/strong><\/p>\n<ul>\n<li>Get the FragmentManager<\/li>\n<li>Begin a FragmentTransaction<\/li>\n<li>Add\/Remove\/Replace fragments<\/li>\n<li>Commit the transaction<\/li>\n<\/ul>\n<p>Now, let&#8217;s talk about each operation in details..<\/p>\n<p><strong>Adding a Fragment\u00a0<\/strong><\/p>\n<ul>\n<li>Create the Fragment object<\/li>\n<li>Begin the FragmentTransaction<\/li>\n<li>Add the Fragment<\/li>\n<li>Commit the transaction<\/li>\n<\/ul>\n<p>Adding a Fragment results in the execution of all the construction lifecycle methods inside the Fragment.<\/p>\n<p>Signature of add method is :<br \/>\nadd(id of the layout in which you want to add the fragment, the fragment object, a string tag to get a reference to the fragment later)<\/p>\n<p><strong>Removing a Fragment<\/strong><\/p>\n<ul>\n<li>Get the Fragment object using id or tag<\/li>\n<li>Begin the FragmentTransaction<\/li>\n<li>Remove the fragment<\/li>\n<li>Commit the transaction<\/li>\n<\/ul>\n<p>Removing a Fragment results in the execution of all the destruction lifecycle methods inside the Fragment.<\/p>\n<p>Signature of remove method is :<br \/>\nremove(the fragment object that you retrieved)<\/p>\n<blockquote><p>You cannot use the Fragment object after removing it because its UI has been destroyed completely and the Fragment is not associated with the activity anymore.<br \/>\nThough, it may or may not be null at this point because the part of a Fragment existing as a java object is different from the part of it associated with the activity.<\/p><\/blockquote>\n<p><strong>Replacing a Fragment<\/strong><\/p>\n<ul>\n<li>Create the Fragment object<\/li>\n<li>Begin the FragmentTransaction<\/li>\n<li>Add the Fragment<\/li>\n<li>Commit the transaction<\/li>\n<\/ul>\n<p>Replace operation consists of removing one Fragment and adding another Fragment.<br \/>\nSo, replacing a Fragment results in the execution of all the destructive lifecycle methods on 1st Fragment and constructive ones on 2nd.<\/p>\n<p>Signature of replace method is :<br \/>\nreplace(the layout id where the old fragment is contained, the fragment object)<\/p>\n<blockquote><p>The layout id is different from the fragment id. Please don&#8217;t get confused between these two.<br \/>\nSuppose that your old fragment is contained in a LinearLayout, then you need to pass the id of that LinearLayout as the first parameter.<\/p><\/blockquote>\n<p><strong>Fragment BackStack Behavior :<\/strong><\/p>\n<p>Android has a concept that whenever you navigate from one activity to another activity, the previous activity is not completely destroyed.<br \/>\nIt is instead added to a stack from where you can access it when you press the back button.<br \/>\nHowever, fragments have no sense of the back button by default.<\/p>\n<p>So, whenever you are performing a transaction, call addToBackStack before calling commit on the transaction.<\/p>\n<pre class=\"\">Fragment myFragment = new MyFragment();\r\nFragmentManager fragmentManager = getFragmentManager();\r\nFragmentTransaction transaction = fragmentManager.beginTransaction();\r\ntransaction.add(R.id.layoutId, myFragment, \"Fragment Tag\");\r\ntransaction.addToBackStack(\"myScreen\");\r\ntransaction.commit();<\/pre>\n<p>This will result in adding the fragment to a BackStack named as myScreen.<br \/>\nNow, if the user presses the back button, this add operation will be undone and the user is navigated back to the previous state.<\/p>\n<pre class=\"\">Fragment myFragment = new MyFragment();\r\nFragmentManager fragmentManager = getFragmentManager();\r\nFragmentTransaction transaction = fragmentManager.beginTransaction();\r\n\/\/ add A\r\n\/\/ remove B\r\n\/\/ replace C with D\r\ntransaction.addToBackStack(null);\r\ntransaction.commit();<\/pre>\n<p>In this case, if the user presses the back button, all the three operations performed in this transaction will be undone and the user is navigated back to the previous state.<\/p>\n<ul>\n<li>While removing a fragment, if you do not call addToBackStack(), the fragment is destroyed and the user cannot navigate to it.<\/li>\n<li>While removing a fragment, if you call addToBackStack(), the fragment is stopped and resumed when the user navigates to it.<\/li>\n<\/ul>\n<blockquote><p>This is one of the reasons you might wanna consider for implementing addToBackStack to make your app respond faster to the user.<\/p><\/blockquote>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we are going to discuss about Fragment object states, Fragment transactions and Fragment BackStack behavior. Let&#8217;s first look at the different states of a fragment object. A fragment exists as : Java object When we write, Fragment f = new Fragment(); It exists as a simple java object but at this point [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4608,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[71],"tags":[159,274],"class_list":["post-4583","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mobile","tag-android","tag-fragment"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Fragment Object States | Fragment Transactions | Fragment BackStack - InnovationM - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Fragment Object States | Fragment Transactions | Fragment BackStack - InnovationM - Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, we are going to discuss about Fragment object states, Fragment transactions and Fragment BackStack behavior. Let&#8217;s first look at the different states of a fragment object. A fragment exists as : Java object When we write, Fragment f = new Fragment(); It exists as a simple java object but at this point [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/\" \/>\n<meta property=\"og:site_name\" content=\"InnovationM - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-06-05T09:34:52+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-20T13:25:41+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/06\/anuj-blog-without-border.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1136\" \/>\n\t<meta property=\"og:image:height\" content=\"710\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"InnovationM Admin\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InnovationM Admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/\"},\"author\":{\"name\":\"InnovationM Admin\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"headline\":\"Fragment Object States | Fragment Transactions | Fragment BackStack\",\"datePublished\":\"2018-06-05T09:34:52+00:00\",\"dateModified\":\"2023-01-20T13:25:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/\"},\"wordCount\":694,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/anuj-blog-without-border.png\",\"keywords\":[\"Android\",\"fragment\"],\"articleSection\":[\"Mobile\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/\",\"name\":\"Fragment Object States | Fragment Transactions | Fragment BackStack - InnovationM - Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/anuj-blog-without-border.png\",\"datePublished\":\"2018-06-05T09:34:52+00:00\",\"dateModified\":\"2023-01-20T13:25:41+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/anuj-blog-without-border.png\",\"contentUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/06\\\/anuj-blog-without-border.png\",\"width\":1136,\"height\":710},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/fragment-object-states-fragment-transactions-fragment-backstack\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Fragment Object States | Fragment Transactions | Fragment BackStack\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\",\"name\":\"InnovationM - Blog\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\",\"name\":\"InnovationM Admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g\",\"caption\":\"InnovationM Admin\"},\"sameAs\":[\"http:\\\/\\\/www.innovationm.com\\\/\"],\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/author\\\/innovationmadmin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Fragment Object States | Fragment Transactions | Fragment BackStack - InnovationM - Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/","og_locale":"en_US","og_type":"article","og_title":"Fragment Object States | Fragment Transactions | Fragment BackStack - InnovationM - Blog","og_description":"In this blog, we are going to discuss about Fragment object states, Fragment transactions and Fragment BackStack behavior. Let&#8217;s first look at the different states of a fragment object. A fragment exists as : Java object When we write, Fragment f = new Fragment(); It exists as a simple java object but at this point [&hellip;]","og_url":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/","og_site_name":"InnovationM - Blog","article_published_time":"2018-06-05T09:34:52+00:00","article_modified_time":"2023-01-20T13:25:41+00:00","og_image":[{"width":1136,"height":710,"url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/06\/anuj-blog-without-border.png","type":"image\/png"}],"author":"InnovationM Admin","twitter_misc":{"Written by":"InnovationM Admin","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/#article","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/"},"author":{"name":"InnovationM Admin","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"headline":"Fragment Object States | Fragment Transactions | Fragment BackStack","datePublished":"2018-06-05T09:34:52+00:00","dateModified":"2023-01-20T13:25:41+00:00","mainEntityOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/"},"wordCount":694,"commentCount":1,"image":{"@id":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/06\/anuj-blog-without-border.png","keywords":["Android","fragment"],"articleSection":["Mobile"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/","url":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/","name":"Fragment Object States | Fragment Transactions | Fragment BackStack - InnovationM - Blog","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/#primaryimage"},"image":{"@id":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/06\/anuj-blog-without-border.png","datePublished":"2018-06-05T09:34:52+00:00","dateModified":"2023-01-20T13:25:41+00:00","author":{"@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"breadcrumb":{"@id":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/#primaryimage","url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/06\/anuj-blog-without-border.png","contentUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/06\/anuj-blog-without-border.png","width":1136,"height":710},{"@type":"BreadcrumbList","@id":"https:\/\/www.innovationm.com\/blog\/fragment-object-states-fragment-transactions-fragment-backstack\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.innovationm.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Fragment Object States | Fragment Transactions | Fragment BackStack"}]},{"@type":"WebSite","@id":"https:\/\/www.innovationm.com\/blog\/#website","url":"https:\/\/www.innovationm.com\/blog\/","name":"InnovationM - Blog","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.innovationm.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed","name":"InnovationM Admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/5c99d9eece9dfbc82297cf34ddd58e9fe05bb52fe66c8f6bf6c0a45bfb6d7629?s=96&r=g","caption":"InnovationM Admin"},"sameAs":["http:\/\/www.innovationm.com\/"],"url":"https:\/\/www.innovationm.com\/blog\/author\/innovationmadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/4583","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/comments?post=4583"}],"version-history":[{"count":0,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/4583\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media\/4608"}],"wp:attachment":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media?parent=4583"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/categories?post=4583"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/tags?post=4583"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}