

{"id":13369,"date":"2018-04-13T07:26:24","date_gmt":"2018-04-13T07:26:24","guid":{"rendered":"https:\/\/data-flair.training\/blogs\/?p=13369"},"modified":"2021-12-04T10:16:29","modified_gmt":"2021-12-04T04:46:29","slug":"scala-string-interpolation","status":"publish","type":"post","link":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/","title":{"rendered":"Scala String Interpolation | s String, f String and raw string Interpolator"},"content":{"rendered":"<h3>Scala String Interpolation<\/h3>\n<p>Today in Scala String Interpolation tutorial, we will discuss the string interpolators \u2018s\u2019, \u2018f\u2019, and \u2018raw\u2019 with their examples.<\/p>\n<p>So, let&#8217;s start Scala String Interpolation Tutorial.<\/p>\n<div id=\"attachment_13373\" style=\"width: 1210px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-in-Scala-01.jpg\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-13373\" class=\"wp-image-13373 size-full\" src=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-in-Scala-01.jpg\" alt=\"Scala String Interpolation | s String, f String and raw string Interpolator\" width=\"1200\" height=\"628\" srcset=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-in-Scala-01.jpg 1200w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-in-Scala-01-150x79.jpg 150w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-in-Scala-01-300x157.jpg 300w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-in-Scala-01-768x402.jpg 768w, https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-in-Scala-01-1024x536.jpg 1024w\" sizes=\"auto, (max-width: 1200px) 100vw, 1200px\" \/><\/a><p id=\"caption-attachment-13373\" class=\"wp-caption-text\">Scala String Interpolation | s String, f String and raw string Interpolator<\/p><\/div>\n<h3>Introduction to Interpolation in String<\/h3>\n<p>Scala String Interpolation is a new way to create them. But we didn\u2019t always have this feature at hand. This was introduced in Scala 2.10, and is available in all newer versions as well.<\/p>\n<p>By interpolating a string, we can embed variable references directly in a processed string literal. We have three kinds of Scala String interpolators. Let\u2019s see them one by one.<\/p>\n<h3>s String Interpolator<\/h3>\n<p>When we prepend \u2018s\u2019 to any string, we can directly use variables in it with the use of the \u2018$\u2019 character. But that variable should be in scope in that string; it should be visible. Well, \u2018s\u2019 is a method.<\/p>\n<pre class=\"EnlighterJSRAW\">scala&gt; val name=\"Ayushi\"\r\nname: String = Ayushi\r\nscala&gt; println(s\"Hello, $name, how are you?\")\r\nHello, Ayushi, how are you?\r\nSee how simple that was? We can also process arbitrary expressions using ${}.\r\nscala&gt; println(s\"Hello, 2+3 is ${2+3}\")<\/pre>\n<p>Hello, 2+3 is 5<\/p>\n<pre class=\"EnlighterJSRAW\">scala&gt; println(s\"Is 2+3 equal to 5? That is ${2+3==5}\")<\/pre>\n<p>Is 2+3 equal to 5? That is true<\/p>\n<p>We\u2019ll also see this with case classes later.<\/p>\n<h3>f String Interpolator<\/h3>\n<p>Let\u2019s first see the problem with the s interpolator.<\/p>\n<pre class=\"EnlighterJSRAW\">scala&gt; val a=77.000<\/pre>\n<p>a: Double = 77.0<\/p>\n<pre class=\"EnlighterJSRAW\">scala&gt; println(s\"The number is $a\")<\/pre>\n<p>The number is 77.0<\/p>\n<p>This prints 77.0, not 77.000.<\/p>\n<p>Now, see this with the f interpolator.<\/p>\n<pre class=\"EnlighterJSRAW\">scala&gt; println(f\"The number is $a%.3f\")<\/pre>\n<p>The number is 77.000<\/p>\n<p>This is quite like the printf style format specifiers in C. These are %d, %i, %f, and so on.<\/p>\n<pre class=\"EnlighterJSRAW\">scala&gt; println(f\"$name%s says the number is $a%.3f\")<\/pre>\n<p>Ayushi says the number is 77.000<\/p>\n<p>This is type-safe. If the variable reference and the format specifier don\u2019t match, it raises an error. By default, the specifier is %s. Next in Scala String Interpolation is raw String Interpolator.<\/p>\n<h3>raw String Interpolator<\/h3>\n<p>raw is like s, except that it doesn\u2019t escape literals within a string.<\/p>\n<pre class=\"EnlighterJSRAW\">scala&gt; println(raw\"$name says the number is $a\\nOkay, bye\")<\/pre>\n<p>Ayushi says the number is 77.0\\nOkay, bye<\/p>\n<p>The same with s will give:<\/p>\n<pre class=\"EnlighterJSRAW\">scala&gt; println(s\"$name says the number is $a\\nOkay, bye\")<\/pre>\n<p>Ayushi says the number is 77.0<\/p>\n<p>Okay, bye<\/p>\n<p>This tells us that the raw interpolator interpolates the string in a very raw sense.<\/p>\n<p>So, this was all about Scala String Interpolation. Hope you like our explanation.<\/p>\n<h3>Conclusion<\/h3>\n<p>Hence, we discussed three types of Scala string interpolators:\u00a0s String Interpolator,\u00a0f String Interpolator, and raw String Interpolator in Scala with their examples. Furthermore, if you have any query, feel free to ask in the comment session.<\/p>\n<p><strong><a href=\"https:\/\/www.scala-lang.org\/\">Reference<\/a><\/strong><span hidden class=\"__iawmlf-post-loop-links\" data-iawmlf-links=\"[{&quot;id&quot;:1904,&quot;href&quot;:&quot;https:\\\/\\\/www.scala-lang.org&quot;,&quot;archived_href&quot;:&quot;http:\\\/\\\/web-wp.archive.org\\\/web\\\/20251206135355\\\/https:\\\/\\\/www.scala-lang.org\\\/&quot;,&quot;redirect_href&quot;:&quot;&quot;,&quot;checks&quot;:[{&quot;date&quot;:&quot;2025-12-10 07:41:44&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-15 07:30:15&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-18 15:55:26&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-23 02:56:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2025-12-27 16:24:45&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-02 02:40:17&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-05 13:44:47&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-09 08:06:50&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-12 14:24:57&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-17 17:26:33&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-20 17:57:07&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-24 15:52:31&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-01-30 14:21:46&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-02 14:58:48&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-05 16:39:16&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-12 17:17:04&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-16 04:52:29&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-19 13:39:29&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-24 17:10:42&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-02-28 04:44:36&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-03 07:25:17&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-08 21:46:06&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-12 18:02:22&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-03-27 20:15:27&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-05 11:05:11&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-10 19:22:51&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-14 07:59:07&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-17 16:14:10&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-21 23:18:28&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-26 09:13:01&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-04-29 14:23:58&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-07 12:16:25&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-13 10:20:22&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-18 15:54:26&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-22 05:55:10&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-25 08:30:39&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-05-29 13:12:38&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-02 14:06:47&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-09 18:23:27&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-15 16:29:46&quot;,&quot;http_code&quot;:206},{&quot;date&quot;:&quot;2026-06-19 06:54:54&quot;,&quot;http_code&quot;:206}],&quot;broken&quot;:false,&quot;last_checked&quot;:{&quot;date&quot;:&quot;2026-06-19 06:54:54&quot;,&quot;http_code&quot;:206},&quot;process&quot;:&quot;done&quot;}]\"><\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Scala String Interpolation Today in Scala String Interpolation tutorial, we will discuss the string interpolators \u2018s\u2019, \u2018f\u2019, and \u2018raw\u2019 with their examples. So, let&#8217;s start Scala String Interpolation Tutorial. Introduction to Interpolation in String&#46;&#46;&#46;<\/p>\n","protected":false},"author":6,"featured_media":31082,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[61],"tags":[12445,12537,12544,12554],"class_list":["post-13369","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-scala","tag-scala-f-screen-interpolator","tag-scala-raw-string-interpolator","tag-scala-s-string-interpolator","tag-scala-string-interpolation"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Scala String Interpolation | s String, f String and raw string Interpolator - DataFlair<\/title>\n<meta name=\"description\" content=\"Scala String Interpolation: types of Scala string interpolators:s String Interpolator,\u00a0f String Interpolator, raw String Interpolator in Scala with examples\" \/>\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-string-interpolation\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scala String Interpolation | s String, f String and raw string Interpolator - DataFlair\" \/>\n<meta property=\"og:description\" content=\"Scala String Interpolation: types of Scala string interpolators:s String Interpolator,\u00a0f String Interpolator, raw String Interpolator in Scala with examples\" \/>\n<meta property=\"og:url\" content=\"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/\" \/>\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-04-13T07:26:24+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-12-04T04:46:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-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 String Interpolation | s String, f String and raw string Interpolator - DataFlair","description":"Scala String Interpolation: types of Scala string interpolators:s String Interpolator,\u00a0f String Interpolator, raw String Interpolator in Scala with examples","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-string-interpolation\/","og_locale":"en_US","og_type":"article","og_title":"Scala String Interpolation | s String, f String and raw string Interpolator - DataFlair","og_description":"Scala String Interpolation: types of Scala string interpolators:s String Interpolator,\u00a0f String Interpolator, raw String Interpolator in Scala with examples","og_url":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/","og_site_name":"DataFlair","article_publisher":"https:\/\/www.facebook.com\/DataFlairWS\/","article_published_time":"2018-04-13T07:26:24+00:00","article_modified_time":"2021-12-04T04:46:29+00:00","og_image":[{"width":1200,"height":628,"url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-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-string-interpolation\/#article","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/"},"author":{"name":"DataFlair Team","@id":"https:\/\/data-flair.training\/blogs\/#\/schema\/person\/2c58ecb4f73a39f0ef993f1ddfcd7b89"},"headline":"Scala String Interpolation | s String, f String and raw string Interpolator","datePublished":"2018-04-13T07:26:24+00:00","dateModified":"2021-12-04T04:46:29+00:00","mainEntityOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/"},"wordCount":380,"commentCount":0,"publisher":{"@id":"https:\/\/data-flair.training\/blogs\/#organization"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-in-Scala-01-1.jpg","keywords":["Scala f Screen Interpolator","Scala Raw String Interpolator","Scala s String Interpolator","Scala String Interpolation"],"articleSection":["Scala Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/","url":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/","name":"Scala String Interpolation | s String, f String and raw string Interpolator - DataFlair","isPartOf":{"@id":"https:\/\/data-flair.training\/blogs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/#primaryimage"},"image":{"@id":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/#primaryimage"},"thumbnailUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-in-Scala-01-1.jpg","datePublished":"2018-04-13T07:26:24+00:00","dateModified":"2021-12-04T04:46:29+00:00","description":"Scala String Interpolation: types of Scala string interpolators:s String Interpolator,\u00a0f String Interpolator, raw String Interpolator in Scala with examples","breadcrumb":{"@id":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/#primaryimage","url":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-in-Scala-01-1.jpg","contentUrl":"https:\/\/data-flair.training\/blogs\/wp-content\/uploads\/sites\/2\/2018\/04\/String-Interpolation-in-Scala-01-1.jpg","width":1200,"height":628,"caption":"Scala String Interpolation | s String, f String and raw string Interpolator"},{"@type":"BreadcrumbList","@id":"https:\/\/data-flair.training\/blogs\/scala-string-interpolation\/#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 String Interpolation | s String, f String and raw string Interpolator"}]},{"@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\/13369","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=13369"}],"version-history":[{"count":6,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/13369\/revisions"}],"predecessor-version":[{"id":104791,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/posts\/13369\/revisions\/104791"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media\/31082"}],"wp:attachment":[{"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/media?parent=13369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/categories?post=13369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/data-flair.training\/blogs\/wp-json\/wp\/v2\/tags?post=13369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}