{"id":5712,"date":"2020-10-08T05:31:20","date_gmt":"2020-10-08T05:31:20","guid":{"rendered":"https:\/\/prwatech.in\/blog\/?p=5712"},"modified":"2024-04-12T10:01:20","modified_gmt":"2024-04-12T10:01:20","slug":"constructors-and-scala-constructor-parameter-modifiers","status":"publish","type":"post","link":"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/","title":{"rendered":"Scala &#8211; Constructors\/Modifiers"},"content":{"rendered":"\r\n<h2>Scala constructor parameter modifiers<\/h2>\r\n<p>&nbsp;<\/p>\r\n<p class=\"has-medium-font-size\">Constructor:<\/p>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\">1. <strong>Primary Constructor<\/strong> &#8211; compiler creates a constructor which is known as primary constructor. All the statements of class body treated as <a href=\"https:\/\/www.scala-lang.org\/\">part<\/a> of constructor. It is also known as default constructor.<\/p>\r\n\r\n\r\n\r\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Run the following program to execute <a href=\"https:\/\/prwatech.in\/blog\/#\">Primary<\/a> Constructor:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5774\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image.png\" alt=\"\" width=\"653\" height=\"189\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image.png 686w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image-300x87.png 300w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>Output: <\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"700\" height=\"148\" class=\"wp-image-5776\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image-2.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image-2.png 700w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image-2-300x63.png 300w\" sizes=\"auto, (max-width: 700px) 100vw, 700px\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\">2. <strong>Scala Secondary (auxiliary) Constructor<\/strong> \u2013 Let\u2019s call primary constructor from inside the auxiliary constructor. This keyword is used to call constructor from other constructor. When calling other constructor make it first line in your constructor.<\/p>\r\n\r\n\r\n\r\n<p>Run the following command to execute secondary (auxiliary) constructor:<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"628\" height=\"286\" class=\"wp-image-5775\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image-1.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image-1.png 628w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image-1-300x137.png 300w\" sizes=\"auto, (max-width: 628px) 100vw, 628px\" \/><\/figure>\r\n\r\n\r\n\r\n<p><strong>OUTPUT:<\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"653\" height=\"165\" class=\"wp-image-5777\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image-3.png\" alt=\"\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image-3.png 653w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image-3-300x76.png 300w\" sizes=\"auto, (max-width: 653px) 100vw, 653px\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\">\u00a0<\/p>\r\n\r\n\r\n\r\n<p style=\"font-size: 18px;\">\u00a0\u00a0\u00a0\u00a0<\/p>\r\n<p>In Scala, constructor parameter modifiers provide flexibility and control over how constructor parameters are treated within class definitions. Scala supports various modifiers that can\u00a0 to constructor parameters to define their visibility, immutability, and other characteristics.<\/p>\r\n<ol>\r\n<li>\r\n<p><strong>Visibility Modifiers<\/strong>: Constructor parameters can be marked as <code>private<\/code> or <code>protected<\/code> to restrict their visibility within the class or its subclasses, respectively. This helps encapsulate class internals and enforce access control.<\/p>\r\n<\/li>\r\n<li>\r\n<p><strong>Immutability Modifiers<\/strong>: Constructor parameters can be declared as <code>val<\/code> to make them immutable (read-only) after initialization. Immutable constructor parameters ensure that their values cannot be change once set, promoting functional programming principles and thread safety.<\/p>\r\n<\/li>\r\n<\/ol>\r\n<p style=\"font-size: 18px;\">\u00a0\u00a0\u00a0\u00a0<\/p>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\"><strong>Modifiers:<\/strong><\/p>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\">1.\u00a0\u00a0\u00a0\u00a0 No Modifiers<\/p>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\">2.\u00a0\u00a0\u00a0\u00a0 Private<\/p>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\">3.\u00a0\u00a0\u00a0\u00a0 Protected<\/p>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\"><strong>Accessibility chart:<\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-table\">\r\n<table>\r\n<tbody>\r\n<tr>\r\n<td>\u00a0<\/td>\r\n<td><strong>Outside<\/strong> <strong>Package<\/strong><\/td>\r\n<td><strong>Same<\/strong> <strong>Package<\/strong><\/td>\r\n<td><strong>Same<\/strong> <strong>Class<\/strong><\/td>\r\n<td><strong>Sub<\/strong> <strong>Class<\/strong><\/td>\r\n<td><strong>Companion<\/strong> <strong>Class<\/strong><\/td>\r\n<\/tr>\r\n<tr>\r\n<td>No Modifier<\/td>\r\n<td>Yes<\/td>\r\n<td>Yes<\/td>\r\n<td>Yes<\/td>\r\n<td>Yes<\/td>\r\n<td>Yes<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Private<\/td>\r\n<td>No<\/td>\r\n<td>No<\/td>\r\n<td>Yes<\/td>\r\n<td>No<\/td>\r\n<td>Yes<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Protected<\/td>\r\n<td>No<\/td>\r\n<td>No<\/td>\r\n<td>Yes<\/td>\r\n<td>Yes<\/td>\r\n<td>Yes<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<\/figure>\r\n\r\n\r\n\r\n<h3 class=\"wp-block-heading\">\u00a0<\/h3>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\">\u00b7\u00a0\u00a0Singleton Object<\/p>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\">\u00b7\u00a0\u00a0Companion Class<\/p>\r\n\r\n\r\n\r\n<p class=\"has-medium-font-size\">Example program of Singleton Object<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5713\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/10\/f1.jpg\" alt=\"\" width=\"577\" height=\"155\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/10\/f1.jpg 562w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/10\/f1-300x81.jpg 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-5714\" src=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/10\/f2.jpg\" alt=\"\" width=\"577\" height=\"68\" srcset=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/10\/f2.jpg 481w, https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/10\/f2-300x36.jpg 300w\" sizes=\"auto, (max-width: 577px) 100vw, 577px\" \/><\/figure>\r\n<p>&nbsp;<\/p>\r\n<p>Scala constructor parameter modifiers<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Scala constructor parameter modifiers &nbsp; Constructor: 1. Primary Constructor &#8211; compiler creates a constructor which is known as primary constructor. All the statements of class body treated as part of constructor. It is also known as default constructor. \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0Run the following program to execute Primary Constructor: Output: 2. Scala Secondary (auxiliary) Constructor \u2013 Let\u2019s call [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[565,1698],"tags":[1997,1995,1996],"class_list":["post-5712","post","type-post","status-publish","format-standard","hentry","category-scala","category-scala-modules-scala","tag-2-popular-types-of-constructors-in-scala","tag-scala-constructors-modifiers","tag-scala-constructor-parameter-modifiers"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Scala constructor parameter modifiers - Prwatech<\/title>\n<meta name=\"description\" content=\"Master Scala Constructor Parameter Modifiers - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta name=\"robots\" content=\"noindex, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Scala constructor parameter modifiers - Prwatech\" \/>\n<meta property=\"og:description\" content=\"Master Scala Constructor Parameter Modifiers - Dive deep with our expert instructors and comprehensive curriculum.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/\" \/>\n<meta property=\"og:site_name\" content=\"Prwatech\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prwatech.in\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-08T05:31:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-04-12T10:01:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image.png\" \/>\n<meta name=\"author\" content=\"Prwatech\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:site\" content=\"@Eduprwatech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Prwatech\" \/>\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\":\"WebPage\",\"@id\":\"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/\",\"url\":\"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/\",\"name\":\"Scala constructor parameter modifiers - Prwatech\",\"isPartOf\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image.png\",\"datePublished\":\"2020-10-08T05:31:20+00:00\",\"dateModified\":\"2024-04-12T10:01:20+00:00\",\"author\":{\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\"},\"description\":\"Master Scala Constructor Parameter Modifiers - Dive deep with our expert instructors and comprehensive curriculum.\",\"breadcrumb\":{\"@id\":\"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/#primaryimage\",\"url\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image.png\",\"contentUrl\":\"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image.png\",\"width\":686,\"height\":199},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/prwatech.in\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Scala &#8211; Constructors\/Modifiers\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/prwatech.in\/blog\/#website\",\"url\":\"https:\/\/prwatech.in\/blog\/\",\"name\":\"Prwatech\",\"description\":\"Share Ideas, Start Something Good.\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/prwatech.in\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3\",\"name\":\"Prwatech\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g\",\"caption\":\"Prwatech\"},\"url\":\"https:\/\/prwatech.in\/blog\/author\/prwatech123\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Scala constructor parameter modifiers - Prwatech","description":"Master Scala Constructor Parameter Modifiers - Dive deep with our expert instructors and comprehensive curriculum.","robots":{"index":"noindex","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"og_locale":"en_US","og_type":"article","og_title":"Scala constructor parameter modifiers - Prwatech","og_description":"Master Scala Constructor Parameter Modifiers - Dive deep with our expert instructors and comprehensive curriculum.","og_url":"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/","og_site_name":"Prwatech","article_publisher":"https:\/\/www.facebook.com\/prwatech.in\/","article_published_time":"2020-10-08T05:31:20+00:00","article_modified_time":"2024-04-12T10:01:20+00:00","og_image":[{"url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image.png","type":"","width":"","height":""}],"author":"Prwatech","twitter_card":"summary_large_image","twitter_creator":"@Eduprwatech","twitter_site":"@Eduprwatech","twitter_misc":{"Written by":"Prwatech","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/","url":"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/","name":"Scala constructor parameter modifiers - Prwatech","isPartOf":{"@id":"https:\/\/prwatech.in\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/#primaryimage"},"image":{"@id":"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/#primaryimage"},"thumbnailUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image.png","datePublished":"2020-10-08T05:31:20+00:00","dateModified":"2024-04-12T10:01:20+00:00","author":{"@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3"},"description":"Master Scala Constructor Parameter Modifiers - Dive deep with our expert instructors and comprehensive curriculum.","breadcrumb":{"@id":"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/#primaryimage","url":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image.png","contentUrl":"https:\/\/prwatech.in\/blog\/wp-content\/uploads\/2020\/12\/image.png","width":686,"height":199},{"@type":"BreadcrumbList","@id":"https:\/\/prwatech.in\/blog\/scala\/scala-modules-scala\/constructors-and-scala-constructor-parameter-modifiers\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/prwatech.in\/blog\/"},{"@type":"ListItem","position":2,"name":"Scala &#8211; Constructors\/Modifiers"}]},{"@type":"WebSite","@id":"https:\/\/prwatech.in\/blog\/#website","url":"https:\/\/prwatech.in\/blog\/","name":"Prwatech","description":"Share Ideas, Start Something Good.","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/prwatech.in\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/db90baff7744090b2288bbc98fea87f3","name":"Prwatech","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/prwatech.in\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c00bafc1b04045f31eda917de39891456c44fa47c092b9bb6be0f860a3a30a2f?s=96&d=mm&r=g","caption":"Prwatech"},"url":"https:\/\/prwatech.in\/blog\/author\/prwatech123\/"}]}},"_links":{"self":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/5712","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/comments?post=5712"}],"version-history":[{"count":8,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/5712\/revisions"}],"predecessor-version":[{"id":11374,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/posts\/5712\/revisions\/11374"}],"wp:attachment":[{"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/media?parent=5712"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/categories?post=5712"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prwatech.in\/blog\/wp-json\/wp\/v2\/tags?post=5712"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}