

{"id":11859,"date":"2018-03-27T06:37:01","date_gmt":"2018-03-27T06:37:01","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=11859"},"modified":"2021-12-04T10:16:43","modified_gmt":"2021-12-04T04:46:43","slug":"scala-while-loop","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/","title":{"rendered":"Scala While Loop with Syntax and Example"},"content":{"rendered":"<p>In this Scala While Loop tutorial, we will study what is while loop in Scala with syntax and example. Moreover, we will discuss how Scala while loop works and\u00a0One Infinite Loop with exmaple.<\/p>\n<p>So, let&#8217;s start Scala while loop tutorial.<\/p>\n<h3>What is Scala While Loop?<\/h3>\n<p>A while loop that will execute a set of statements as long as a condition is true.<\/p>\n<div id=\"attachment_11863\" style=\"width: 425px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/while-1.png\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-11863\" class=\"wp-image-11863 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/while-1.png\" alt=\"Scala While Loop\" width=\"415\" height=\"319\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/while-1.png 415w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/while-1-150x115.png 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/while-1-300x231.png 300w\" sizes=\"auto, (max-width: 415px) 100vw, 415px\" \/><\/a><p id=\"caption-attachment-11863\" class=\"wp-caption-text\">Scala While Loop<\/p><\/div>\n<h3>Working of While Loop in Scala<\/h3>\n<p>A Scala while loop first checks the condition. This may be any expression. Any non-zero value is true; zero is false.<\/p>\n<p>So, if the condition is true, it executes the code in the block under it. The block of code may be one statement or more. Then, it checks the condition again. If still true, it executes the block of code again. Otherwise, it skips to the first statement outside the loop.<\/p>\n<p>If the condition is false the first time, the loop skips to the first statement outside the loop, instead.<\/p>\n<h3>The syntax of While Loop<\/h3>\n<p>We have the following syntax for a Scala while loop:<\/p>\n<pre class=\"EnlighterJSRAW\">while(condition)\r\n{\r\n\/\/Code to execute if condition is true\r\n}<\/pre>\n<h3>Example of While Loop in Scala<\/h3>\n<p>Let\u2019s build a loop that counts down from 7 to 1.<\/p>\n<pre class=\"EnlighterJSRAW\">object Main ectends App\r\n{\r\n    var x=7\r\n    while(x&gt;0)\r\n    {\r\n        println(x)\r\n        x=x-1\r\n    }\r\n<\/pre>\n<p>Here\u2019s the output:<br \/>\n7<br \/>\n6<br \/>\n5<br \/>\n4<br \/>\n3<br \/>\n2<br \/>\n1<br \/>\nInitially, x is 7. The condition is initially true, because 7&gt;0. The loop reduces it to 6. And so on, this loop runs as long as x reaches 1. Then, inside the loop\u2019s body, it becomes 0. Now, when the condition is checked, it evaluates to false. So, it comes out of the loop.<\/p>\n<h3>One Infinite Loop<\/h3>\n<p>It is easy to forget putting in the statement that modifies the variable involved in the condition. This creates an infinite loop- one that never ends, because the condition is always true. Allow us to demonstrate using a while-loop.<\/p>\n<pre class=\"EnlighterJSRAW\">import scala.util.control._\r\nobject Main extends App\r\n{\r\n    var a=0\r\n    while(a&lt;7)\r\n    {\r\n        print(a)\r\n    }\r\n}<\/pre>\n<p>This keeps printing 0 infinitely:<br \/>\n000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000<\/p>\n<h2>7. Conclusion<\/h2>\n<p>Hence, we discussed working, syntax and exmaple of while loop in Scala. At last, we covered one infinite loop.\u00a0 Furthermore, if you have any query, feel free to share with us!<\/p>\n<p>See you again with another basic to learn about. Good day.<\/p>\n<p><strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Scala_(programming_language)\">Reference<\/a><\/strong><span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1920,&quot;href&quot;:&quot;https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Scala_(programming_language)&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20250919075050\\\/https:\\\/\\\/en.wikipedia.org\\\/wiki\\\/Scala_(programming_language)&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-10 09:49:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-14 06:04:41&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-17 08:14:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-21 15:16:29&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-24 20:50:35&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2025-12-27 22:51:06&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-02 00:56:48&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-05 05:12:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-08 16:37:57&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-11 16:52:40&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-15 01:28:34&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-19 03:57:54&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-23 15:04:21&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-27 23:53:53&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-01-31 15:57:47&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-03 17:23:23&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-07 12:58:30&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-10 13:51:06&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-13 14:05:55&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-17 10:42:41&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-20 19:37:04&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-24 11:37:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-02-28 03:48:25&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-03-03 20:07:22&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-09 03:36:50&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-12 17:53:12&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-16 12:24:01&quot;,&quot;http_code&quot;:429},{&quot;date&quot;:&quot;2026-03-21 16:15:51&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-03-29 09:06:02&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-02 02:19:02&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-05 07:25:42&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-09 05:45:52&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-13 17:35:26&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-17 20:46:47&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-20 23:10:43&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-24 16:10:49&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-04-29 02:08:36&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-03 06:35:12&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-07 05:36:56&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-10 12:10:35&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-13 17:35:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-18 05:54:28&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-22 04:26:17&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-25 10:55:32&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-05-29 13:13:25&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-06-01 14:38:15&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-05 08:23:46&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-09 21:06:00&quot;,&quot;http_code&quot;:404},{&quot;date&quot;:&quot;2026-06-13 16:35:11&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-18 05:49:58&quot;,&quot;http_code&quot;:200},{&quot;date&quot;:&quot;2026-06-22 04:17:29&quot;,&quot;http_code&quot;:200}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-22 04:17:29&quot;,&quot;http_code&quot;:200},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this Scala While Loop tutorial, we will study what is while loop in Scala with syntax and example. Moreover, we will discuss how Scala while loop works and\u00a0One Infinite Loop with exmaple. So,&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":31270,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[9214,12591,12592,12593,16117,16265],"class_list":["post-11859","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scala","tag-one-infinity-loop","tag-scala-while-loop","tag-scala-while-loop-example","tag-scala-while-loop-syntax","tag-while-loop-in-scala","tag-working-of-scala-while-loop"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Scala While Loop with Syntax and Example - DataFlair<\/title>\n<meta name=\"description\" content=\"Scala While loop tutorial:Learn the basic syntax of Scala while loop, Example of while loop, Working of While loop in Scala and One Infinite loop in scala\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/data-flair.training\/blogs\/scala-while-loop\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scala While Loop with Syntax and Example - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Scala While loop tutorial:Learn the basic syntax of Scala while loop, Example of while loop, Working of While loop in Scala and One Infinite loop in scala\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/scala-while-loop\/\" \/>\n<meta property=\"og:site_name\" content=\"DataFlair\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/DataFlairWS\/\" \/>\n<meta property=\"article:published_time\" content=\"2018-03-27T06:37:01+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-04T04:46:43+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/while-Loop-in-Scala-01-1.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"628\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"DataFlair Team\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:site\" content=\"@DataFlairWS\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DataFlair Team\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Scala While Loop with Syntax and Example - DataFlair","description":"Scala While loop tutorial:Learn the basic syntax of Scala while loop, Example of while loop, Working of While loop in Scala and One Infinite loop in scala","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:\/\/data-flair.training\/blogs\/scala-while-loop\/","og_locale":"en_US","og_type":"article","og_title":"Scala While Loop with Syntax and Example - DataFlair","og_description":"Scala While loop tutorial:Learn the basic syntax of Scala while loop, Example of while loop, Working of While loop in Scala and One Infinite loop in scala","og_url":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-03-27T06:37:01+00:00","article_modified_time":"2021-12-04T04:46:43+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/while-Loop-in-Scala-01-1.jpg","type":"image\/jpeg"}],"author":"DataFlair Team","twitter_card":"summary_large_image","twitter_creator":"@DataFlairWS","twitter_site":"@DataFlairWS","twitter_misc":{"Written by":"DataFlair Team","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Scala While Loop with Syntax and Example","datePublished":"2018-03-27T06:37:01+00:00","dateModified":"2021-12-04T04:46:43+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/"},"wordCount":354,"commentCount":1,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/while-Loop-in-Scala-01-1.jpg","keywords":["One infinity loop","Scala While loop","Scala while loop example","Scala while loop syntax","While loop in Scala","Working of Scala while loop"],"articleSection":["Scala Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/scala-while-loop\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/","url":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/","name":"Scala While Loop with Syntax and Example - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/while-Loop-in-Scala-01-1.jpg","datePublished":"2018-03-27T06:37:01+00:00","dateModified":"2021-12-04T04:46:43+00:00","description":"Scala While loop tutorial:Learn the basic syntax of Scala while loop, Example of while loop, Working of While loop in Scala and One Infinite loop in scala","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/scala-while-loop\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/while-Loop-in-Scala-01-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/03\/while-Loop-in-Scala-01-1.jpg","width":1200,"height":628,"caption":"Scala While Loop with Syntax and Example"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/scala-while-loop\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog Home","item":"https:\/\/data-flair.training\/blogs\/"},{"@type":"ListItem","position":2,"name":"Scala Tutorials","item":"https:\/\/data-flair.training\/blogs\/category\/scala\/"},{"@type":"ListItem","position":3,"name":"Scala While Loop with Syntax and Example"}]},{"@type":"WebSite","@id":"https:\/\/data-flair.training\/blogs\/#website","url":"https:\/\/data-flair.training\/blogs\/","name":"DataFlair","description":"Learn Today. Lead Tomorrow.","publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/data-flair.training\/blogs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/data-flair.training\/blogs\/#organization","name":"DataFlair","url":"https:\/\/data-flair.training\/blogs\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2016\/07\/Data-Flair.png","width":106,"height":48,"caption":"DataFlair"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/DataFlairWS\/","https:\/\/x.com\/DataFlairWS","https:\/\/www.linkedin.com\/company\/dataflair-web-services-pvt-ltd\/","https:\/\/www.youtube.com\/user\/DataFlairWS"]},{"@type":"Person","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89","name":"DataFlair Team","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/1ce4a0e3e542444fc73bbebf83e89e8b73e2d95ccb1fcee64da9945f078b97c5?s=96&d=mm&r=g","caption":"DataFlair Team"},"description":"The DataFlair Team provides industry-driven content on programming, Java, Python, C++, DSA, AI, ML, data Science, Android, Flutter, MERN, Web Development, and technology. Our expert educators focus on delivering value-packed, easy-to-follow resources for tech enthusiasts and professionals.","url":"https:\/\/data-flair.training\/blogs\/author\/dfteam2\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/11859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/comments?post=11859"}],"version-history":[{"count":7,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/11859\/revisions"}],"predecessor-version":[{"id":104820,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/11859\/revisions\/104820"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/31270"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=11859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=11859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=11859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}