{"id":698,"date":"2012-11-11T19:47:36","date_gmt":"2012-11-11T19:47:36","guid":{"rendered":"http:\/\/ilias-laptop\/examples\/core-java\/apache\/commons\/lang3\/word-counter\/"},"modified":"2013-10-06T15:06:42","modified_gmt":"2013-10-06T12:06:42","slug":"word-counter","status":"publish","type":"post","link":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/","title":{"rendered":"Word counter"},"content":{"rendered":"<p>This is an example of how to count the words of a String paragraph, using the <code>org.apache.commons.lang3.StringUtils<\/code> class.\u00a0This class provides operations on String that are null safe. Counting the words of a paragraph implies that you should:<\/p>\n<ul>\n<li>Create a String that is a paragraph.<\/li>\n<li>Create a String word that is the word to search in the paragraph.<\/li>\n<li>Use the <code>countMatches<\/code> method of <code>StringUtils<\/code> method that counts the number of occurrences of one String in another.<\/li>\n<\/ul>\n<p>Let\u2019s take a look at the code snippet that follows: \u00a0<\/p>\n<pre class=\"brush:java\">\r\npackage com.javacodegeeks.snippets.core;\r\n\r\nimport org.apache.commons.lang3.StringUtils;\r\n\r\npublic class WordCounter {\r\n\t\r\n\tpublic static void main(String[] args) {\r\n\t\t\r\n\t\t\/\/ String with our paragraph\r\n\t\tString paragraph = \"Java Code Geeks (JCGs) is an independent online community focused on creating the\" \r\n\t\t+ \"ultimate Java-to-Java developers resource center; targeted at the technical architect, technical\" \r\n\t    + \"team lead (senior developer), project manager and junior developers alike. JCGs serve the Java, \"\r\n\t\t+ \"Scala, Android, SOA, Agile and Telecom communities with daily news written by domain experts, \"\r\n\t    + \"articles, tutorials, reviews, announcements, code snippets and open source projects.\";\r\n\t\t\r\n\t\t\/\/ Declare the word you want to search\r\n\t\tString string = \"Java\";\r\n\r\n\t\t\/\/ Count word repetitions\r\n\t\tint counter = StringUtils.countMatches(paragraph, string);\r\n\r\n\t\t\/\/ Print the result\r\n\t\tSystem.out.println(\"Word <\" + string + \"> appeared \" + counter + \" times in the paragraph.\");\r\n\t}\r\n}\r\n<\/pre>\n<p>\n<b>Output:<\/b><div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<pre style=\"background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;\">\r\n<code style=\"color: black; word-wrap: normal;\">Word &lt;Java&gt; appeared 4 times in the paragraph.<\/code>\r\n<\/pre>\n<p>&nbsp;\u00a0<br \/>\nThis was an example of a word counter\u00a0in Java.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is an example of how to count the words of a String paragraph, using the org.apache.commons.lang3.StringUtils class.\u00a0This class provides operations on String that are null safe. Counting the words of a paragraph implies that you should: Create a String that is a paragraph. Create a String word that is the word to search in &hellip;<\/p>\n","protected":false},"author":7,"featured_media":1235,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[151],"tags":[1073,1082,189,1098],"class_list":["post-698","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-lang3","tag-apache","tag-commons","tag-core-java-2","tag-lang3"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Word counter - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"This is an example of how to count the words of a String paragraph, using the org.apache.commons.lang3.StringUtils class.\u00a0This class provides operations\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Word counter - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"This is an example of how to count the words of a String paragraph, using the org.apache.commons.lang3.StringUtils class.\u00a0This class provides operations\" \/>\n<meta property=\"og:url\" content=\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/\" \/>\n<meta property=\"og:site_name\" content=\"Examples Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2012-11-11T19:47:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-10-06T12:06:42+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/apache-commons-lang-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Ilias Tsagklis\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Ilias Tsagklis\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/\"},\"author\":{\"name\":\"Ilias Tsagklis\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/ca18b1aa108e3bfadf717e563e0a7a6e\"},\"headline\":\"Word counter\",\"datePublished\":\"2012-11-11T19:47:36+00:00\",\"dateModified\":\"2013-10-06T12:06:42+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/\"},\"wordCount\":98,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/apache-commons-lang-logo.jpg\",\"keywords\":[\"apache\",\"commons\",\"core java\",\"lang3\"],\"articleSection\":[\"lang3\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/\",\"name\":\"Word counter - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/apache-commons-lang-logo.jpg\",\"datePublished\":\"2012-11-11T19:47:36+00:00\",\"dateModified\":\"2013-10-06T12:06:42+00:00\",\"description\":\"This is an example of how to count the words of a String paragraph, using the org.apache.commons.lang3.StringUtils class.\u00a0This class provides operations\",\"breadcrumb\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#primaryimage\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/apache-commons-lang-logo.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/apache-commons-lang-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/examples.javacodegeeks.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java Development\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Core Java\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"apache\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/apache\/\"},{\"@type\":\"ListItem\",\"position\":5,\"name\":\"commons\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/apache\/commons\/\"},{\"@type\":\"ListItem\",\"position\":6,\"name\":\"lang3\",\"item\":\"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/apache\/commons\/lang3\/\"},{\"@type\":\"ListItem\",\"position\":7,\"name\":\"Word counter\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#website\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Examples and Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\/\/examples.javacodegeeks.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/javacodegeeks\",\"https:\/\/x.com\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/ca18b1aa108e3bfadf717e563e0a7a6e\",\"name\":\"Ilias Tsagklis\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/Ilias-Tsagklis_avatar_1454249217-96x96.jpg\",\"contentUrl\":\"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/Ilias-Tsagklis_avatar_1454249217-96x96.jpg\",\"caption\":\"Ilias Tsagklis\"},\"description\":\"Ilias is a software developer turned online entrepreneur. He is co-founder and Executive Editor at Java Code Geeks.\",\"sameAs\":[\"http:\/\/www.iliastsagklis.com\/\",\"https:\/\/www.linkedin.com\/in\/iliastsagklis\"],\"url\":\"https:\/\/examples.javacodegeeks.com\/author\/ilias-tsagklis\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Word counter - Java Code Geeks","description":"This is an example of how to count the words of a String paragraph, using the org.apache.commons.lang3.StringUtils class.\u00a0This class provides operations","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:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/","og_locale":"en_US","og_type":"article","og_title":"Word counter - Java Code Geeks","og_description":"This is an example of how to count the words of a String paragraph, using the org.apache.commons.lang3.StringUtils class.\u00a0This class provides operations","og_url":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/","og_site_name":"Examples Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2012-11-11T19:47:36+00:00","article_modified_time":"2013-10-06T12:06:42+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/apache-commons-lang-logo.jpg","type":"image\/jpeg"}],"author":"Ilias Tsagklis","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Ilias Tsagklis","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#article","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/"},"author":{"name":"Ilias Tsagklis","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/ca18b1aa108e3bfadf717e563e0a7a6e"},"headline":"Word counter","datePublished":"2012-11-11T19:47:36+00:00","dateModified":"2013-10-06T12:06:42+00:00","mainEntityOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/"},"wordCount":98,"commentCount":0,"publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/apache-commons-lang-logo.jpg","keywords":["apache","commons","core java","lang3"],"articleSection":["lang3"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/","url":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/","name":"Word counter - Java Code Geeks","isPartOf":{"@id":"https:\/\/examples.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#primaryimage"},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#primaryimage"},"thumbnailUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/apache-commons-lang-logo.jpg","datePublished":"2012-11-11T19:47:36+00:00","dateModified":"2013-10-06T12:06:42+00:00","description":"This is an example of how to count the words of a String paragraph, using the org.apache.commons.lang3.StringUtils class.\u00a0This class provides operations","breadcrumb":{"@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#primaryimage","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/apache-commons-lang-logo.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2012\/12\/apache-commons-lang-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/examples.javacodegeeks.com\/java-development\/core-java\/apache\/commons\/lang3\/word-counter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/examples.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java Development","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/"},{"@type":"ListItem","position":3,"name":"Core Java","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/"},{"@type":"ListItem","position":4,"name":"apache","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/apache\/"},{"@type":"ListItem","position":5,"name":"commons","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/apache\/commons\/"},{"@type":"ListItem","position":6,"name":"lang3","item":"https:\/\/examples.javacodegeeks.com\/category\/java-development\/core-java\/apache\/commons\/lang3\/"},{"@type":"ListItem","position":7,"name":"Word counter"}]},{"@type":"WebSite","@id":"https:\/\/examples.javacodegeeks.com\/#website","url":"https:\/\/examples.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Examples and Code Snippets","publisher":{"@id":"https:\/\/examples.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/examples.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/examples.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/examples.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/ca18b1aa108e3bfadf717e563e0a7a6e","name":"Ilias Tsagklis","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/examples.javacodegeeks.com\/#\/schema\/person\/image\/","url":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/Ilias-Tsagklis_avatar_1454249217-96x96.jpg","contentUrl":"https:\/\/examples.javacodegeeks.com\/wp-content\/uploads\/2016\/01\/Ilias-Tsagklis_avatar_1454249217-96x96.jpg","caption":"Ilias Tsagklis"},"description":"Ilias is a software developer turned online entrepreneur. He is co-founder and Executive Editor at Java Code Geeks.","sameAs":["http:\/\/www.iliastsagklis.com\/","https:\/\/www.linkedin.com\/in\/iliastsagklis"],"url":"https:\/\/examples.javacodegeeks.com\/author\/ilias-tsagklis\/"}]}},"_links":{"self":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/698","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=698"}],"version-history":[{"count":0,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/698\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media\/1235"}],"wp:attachment":[{"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=698"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=698"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/examples.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=698"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}