{"id":4958,"date":"2018-08-01T17:48:27","date_gmt":"2018-08-01T12:18:27","guid":{"rendered":"https:\/\/www.innovationm.com\/blog\/?p=4958"},"modified":"2023-01-20T18:55:35","modified_gmt":"2023-01-20T13:25:35","slug":"what-is-eventbus-library-and-how-does-it-work","status":"publish","type":"post","link":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/","title":{"rendered":"What is EventBus Library and How Does it Work?"},"content":{"rendered":"<p>In this blog, we are going to discuss about the Eventbus library.<\/p>\n<p><strong>What is EventBus:<\/strong><\/p>\n<p>EventBus Is open Source android library that simplifies communication between Activities, Fragments, Threads, Services, with Less code, better quality.When we develop an android application we need to manage a lot of intercommunication between android components which some time&#8217;s become very difficult to manage. Eventbus library makes this task easy to implement.<\/p>\n<p><strong>Why EventBus?<\/strong><\/p>\n<p>The main reason why we should use EventBus is loose coupling. Sometimes you want to process specific events that are interested for multiple parts of your application like presentation layer business layer and data layer so EventBus provides a easy solution<br \/>\nfor this.<\/p>\n<p><strong>Some features of EventBus library:<br \/>\n<\/strong><strong><br \/>\n<\/strong>1-Simple yet powerful:<br \/>\n2- Battle tested:<br \/>\n3-High Performance<br \/>\n4-Convenient Annotation based API<br \/>\n5-Event &amp; Subscriber inheritance<\/p>\n<p><strong>you need to have four thing for\u00a0<\/strong><strong>implement EventBus:<br \/>\n<\/strong><br \/>\n<strong>1<\/strong>&#8211; A EventBus Object .<\/p>\n<pre class=\"\">EventBus myEventBus = EventBus.getDefault();\r\n<\/pre>\n<p><strong>2-\u00a0<\/strong>A Event normal pojo class.<\/p>\n<pre class=\"\">public class DataSyncEvent {\r\n    private final String syncStatusMessage;\r\n\r\n    public DataSyncEvent(String syncStatusMessage) {\r\n        this.syncStatusMessage = syncStatusMessage;\r\n    }\r\n\r\n    public String getSyncStatusMessage() {\r\n        return syncStatusMessage;\r\n    }\r\n}<\/pre>\n<p><strong>3-\u00a0<\/strong>The sender which will send the event:<\/p>\n<pre class=\"\">EventBus.getDefault().post(new DataSyncEvent(\"Sync SuccessFully\u201d);<\/pre>\n<p><strong>4-\u00a0<\/strong>The subscriber is someone who will listen to our event.<\/p>\n<pre class=\"\">@Subscribe\r\npublic void onEvent(DataSyncEvent syncStatusMessage)\r\n{\r\n    Toast.makeText(this, syncStatusMessage.getSyncStatusMessage(), Toast.LENGTH_SHORT).show();\r\n}<\/pre>\n<p>The last two step are Register and unregister the Eventbus who want to listen to the event. The\u00a0best way is register in onStart method and unRegister in the onStop method of activity.<\/p>\n<pre class=\"\">@Override\r\nprotected void onStart() {\r\n    super.onStart();\r\n    EventBus.getDefault().register(this);\r\n}\r\n@Override\r\nprotected void onStop() {\r\n    super.onStop();\r\n    EventBus.getDefault().unregister(this);\r\n}<\/pre>\n<p><strong>Example of EventBus:<\/strong><\/p>\n<p>Let&#8217;s take a simple example, In our project, if we want to Sync our data to the server at the time of applicaiton launch, for this, simply start an intent service from the launcher activity of your application and through intent service sync the data to the server. After that notify the screen(Through EventBus library) which is currently visible to user about syncing.<\/p>\n<p><strong>Implementation of EventBus:<\/strong><\/p>\n<p>Add the dependencies in the gradle file.<\/p>\n<pre class=\"\">compile 'de.greenrobot:eventbus:2.4.0'<\/pre>\n<p>Intent service class which will start at the time of application launch.<\/p>\n<pre class=\"\">    public class SyncDataService extends IntentService\r\n    {\r\n        public SyncDataService()\r\n        {\r\n            super(\"SyncDataService\");\r\n        }\r\n\r\n        @Override\r\n        protected void onHandleIntent(Intent intent)\r\n        {\r\n            \/\/first check if internet is availabe or not.\r\n            if(DeviceManager.isInternetAvailableOnDevice())\r\n            {\r\n\/\/            try\r\n\/\/            {\r\n\/\/              \/\/write the code to sync the data to Server\r\n                \/\/post the event after sync complete \r\n                EventBus.getDefault().post(new DataSyncEvent(\"Data Sync SuccessFully\"));\r\n\/\/            }\r\n\/\/            catch (RTITBException exception)\r\n\/\/            {\r\n\/\/                LogManager.getInstance().addLog(exception.getExceptionCode(),exception.getMessage(),exception);\r\n\/\/            }\r\n            }\r\n        }\r\n    }<\/pre>\n<p>The Maine Activity.<\/p>\n<pre class=\"\">public class MainActivity extends AppCompatActivity\r\n{\r\n    @Override\r\n    protected void onCreate(Bundle savedInstanceState)\r\n    {\r\n        super.onCreate(savedInstanceState);\r\n        setContentView(R.layout.activity_main);\r\n    }\r\n    \/\/Register the EventBus\r\n    @Override\r\n    protected void onStart()\r\n    {\r\n        super.onStart();\r\n        EventBus.getDefault().register(this);\r\n    }\r\n    \/\/UnRegister the EventBus\r\n    @Override\r\n    protected void onStop()\r\n    {\r\n        super.onStop();\r\n        EventBus.getDefault().unregister(this);\r\n    }\r\n    \/\/The Method which will call every time when data sync to server\r\n    @Subscribe\r\n    public void onEvent(DataSyncEvent syncStatusMessage)\r\n    {\r\n        \/\/you can do whatever you want releted with UI\r\n        Toast.makeText(this, syncStatusMessage.getMessage(), Toast.LENGTH_SHORT).show(); \r\n    }\r\n}<\/pre>\n<p>If any other component of you applicaiton want to listen to the event then only we need to register for the EventBus as mentioned in above method onStart and override the method onEvent.<\/p>\n<p><strong>Conclusion:<\/strong><\/p>\n<p>Eventbus library is just like a radio frequency, if you wish to listen to any song, you simply need to set the frequency to that station.\u00a0Likewise, event bus library posts events, if any component wants to listen that event then we need to register that component for the EventBus object and we will get that event in onEvent Method.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this blog, we are going to discuss about the Eventbus library. What is EventBus: EventBus Is open Source android library that simplifies communication between Activities, Fragments, Threads, Services, with Less code, better quality.When we develop an android application we need to manage a lot of intercommunication between android components which some time&#8217;s become very [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4969,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,71],"tags":[297,298,299],"class_list":["post-4958","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-android","category-mobile","tag-eventbus-greenrobot","tag-eventbus-library","tag-greenroboteventbus-library-for-android"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>What is EventBus Library and How Does it Work? - 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\/what-is-eventbus-library-and-how-does-it-work\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"What is EventBus Library and How Does it Work? - InnovationM - Blog\" \/>\n<meta property=\"og:description\" content=\"In this blog, we are going to discuss about the Eventbus library. What is EventBus: EventBus Is open Source android library that simplifies communication between Activities, Fragments, Threads, Services, with Less code, better quality.When we develop an android application we need to manage a lot of intercommunication between android components which some time&#8217;s become very [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/\" \/>\n<meta property=\"og:site_name\" content=\"InnovationM - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2018-08-01T12:18:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-01-20T13:25:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/08\/EventBus-Library.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1140\" \/>\n\t<meta property=\"og:image:height\" content=\"633\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\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=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/\"},\"author\":{\"name\":\"InnovationM Admin\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"headline\":\"What is EventBus Library and How Does it Work?\",\"datePublished\":\"2018-08-01T12:18:27+00:00\",\"dateModified\":\"2023-01-20T13:25:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/\"},\"wordCount\":401,\"commentCount\":1,\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/EventBus-Library.jpg\",\"keywords\":[\"EventBus greenrobot\",\"EventBus Library\",\"greenrobot\\\/EventBus library for android\"],\"articleSection\":[\"Android\",\"Mobile\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/\",\"name\":\"What is EventBus Library and How Does it Work? - InnovationM - Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/EventBus-Library.jpg\",\"datePublished\":\"2018-08-01T12:18:27+00:00\",\"dateModified\":\"2023-01-20T13:25:35+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/#\\\/schema\\\/person\\\/a831bf4602d69d1fa452e3de0c8862ed\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/EventBus-Library.jpg\",\"contentUrl\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/wp-content\\\/uploads\\\/2018\\\/08\\\/EventBus-Library.jpg\",\"width\":1140,\"height\":633},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/what-is-eventbus-library-and-how-does-it-work\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.innovationm.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"What is EventBus Library and How Does it Work?\"}]},{\"@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":"What is EventBus Library and How Does it Work? - 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\/what-is-eventbus-library-and-how-does-it-work\/","og_locale":"en_US","og_type":"article","og_title":"What is EventBus Library and How Does it Work? - InnovationM - Blog","og_description":"In this blog, we are going to discuss about the Eventbus library. What is EventBus: EventBus Is open Source android library that simplifies communication between Activities, Fragments, Threads, Services, with Less code, better quality.When we develop an android application we need to manage a lot of intercommunication between android components which some time&#8217;s become very [&hellip;]","og_url":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/","og_site_name":"InnovationM - Blog","article_published_time":"2018-08-01T12:18:27+00:00","article_modified_time":"2023-01-20T13:25:35+00:00","og_image":[{"width":1140,"height":633,"url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/08\/EventBus-Library.jpg","type":"image\/jpeg"}],"author":"InnovationM Admin","twitter_misc":{"Written by":"InnovationM Admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/#article","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/"},"author":{"name":"InnovationM Admin","@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"headline":"What is EventBus Library and How Does it Work?","datePublished":"2018-08-01T12:18:27+00:00","dateModified":"2023-01-20T13:25:35+00:00","mainEntityOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/"},"wordCount":401,"commentCount":1,"image":{"@id":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/08\/EventBus-Library.jpg","keywords":["EventBus greenrobot","EventBus Library","greenrobot\/EventBus library for android"],"articleSection":["Android","Mobile"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/","url":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/","name":"What is EventBus Library and How Does it Work? - InnovationM - Blog","isPartOf":{"@id":"https:\/\/www.innovationm.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/#primaryimage"},"image":{"@id":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/#primaryimage"},"thumbnailUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/08\/EventBus-Library.jpg","datePublished":"2018-08-01T12:18:27+00:00","dateModified":"2023-01-20T13:25:35+00:00","author":{"@id":"https:\/\/www.innovationm.com\/blog\/#\/schema\/person\/a831bf4602d69d1fa452e3de0c8862ed"},"breadcrumb":{"@id":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/#primaryimage","url":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/08\/EventBus-Library.jpg","contentUrl":"https:\/\/www.innovationm.com\/blog\/wp-content\/uploads\/2018\/08\/EventBus-Library.jpg","width":1140,"height":633},{"@type":"BreadcrumbList","@id":"https:\/\/www.innovationm.com\/blog\/what-is-eventbus-library-and-how-does-it-work\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.innovationm.com\/blog\/"},{"@type":"ListItem","position":2,"name":"What is EventBus Library and How Does it Work?"}]},{"@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\/4958","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=4958"}],"version-history":[{"count":0,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/posts\/4958\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media\/4969"}],"wp:attachment":[{"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/media?parent=4958"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/categories?post=4958"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.innovationm.com\/blog\/wp-json\/wp\/v2\/tags?post=4958"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}