{"id":2153,"date":"2023-09-19T02:47:28","date_gmt":"2023-09-19T02:47:28","guid":{"rendered":"https:\/\/easycodingschool.com\/?p=2153"},"modified":"2023-09-19T02:47:28","modified_gmt":"2023-09-19T02:47:28","slug":"mastering-property-checking-and-excess-property-checking-in-typescript","status":"publish","type":"post","link":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/","title":{"rendered":"Mastering Property Checking and Excess Property Checking in TypeScript"},"content":{"rendered":"<p>TypeScript is a powerful statically typed JavaScript superset that improves code safety and correctness. Properties Testing &amp; Excess Property Checking are two critical TypeScript notions that ensure your code works as expected. This essay will go over these ideas and their actual applications.<\/p>\n<h3>Understanding Property Checking<\/h3>\n<p>The process to check if an item conforms to a given type or interface is known as property checking. It guarantees that an object has the expected characteristics and types. TypeScript checks properties at compile time, allowing for early error discovery. Let&#8217;s look at an example:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-ts\" data-lang=\"TypeScript\"><code>interface Person {\r\nname: string;\r\nage: number;\r\n}\r\n\r\nfunction greet(person: Person) {\r\nconsole.log(`Hello, ${person.name}! You are ${person.age} years old.`);\r\n}\r\n\r\nconst john = { name: \"John\", age: 30 }; \/\/ Valid\r\nconst sarah = { name: \"Sarah\" }; \/\/ Error: 'age' is missing\r\n\r\ngreet(john); \/\/ Valid\r\ngreet(sarah); \/\/ Error: 'sarah' is missing 'age' property<\/code><\/pre>\n<\/div>\n<p>The Person interface in the preceding code describes the structure of a person object. The greet method anticipates an object that adheres to this interface. Property verification verifies that the objects supplied to greet have the same structure as stated.<\/p>\n<h3>Investigating Excess Property Checking<\/h3>\n<p>Excess Property Checking, on the other hand, prohibits objects from acquiring additional properties that are not defined in the type or interface. To ensure code integrity, TypeScript applies this check. Here&#8217;s an illustration:<\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-ts\" data-lang=\"TypeScript\"><code>interface Car {\r\nmake: string;\r\nmodel: string;\r\n}\r\n\r\nconst myCar = { make: \"Toyota\", model: \"Camry\", year: 2023 }; \/\/ Error: 'year' is unexpected<\/code><\/pre>\n<\/div>\n<p>The Car interface defines the expected properties manufacture and model in this situation. The myCar object has one additional property, year, which causes a compilation error. Excess property checking guarantees that objects tightly adhere to the types and structures declared.<\/p>\n<h3>Handling Excess Properties<\/h3>\n<p>There are times when you want to allow objects with additional characteristics. TypeScript has two techniques for doing so:<\/p>\n<p><strong>Type Assertion:<\/strong><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-ts\" data-lang=\"TypeScript\"><code>const myCar = { make: \"Toyota\", model: \"Camry\", year: 2023 } as Car;<\/code><\/pre>\n<\/div>\n<p>Type assertion (as Car) instructs TypeScript to skip the excess property check, treating the object as though it conforms to the provided type or interface.<\/p>\n<p><strong>Type Casting:<\/strong><\/p>\n<div class=\"hcb_wrap\">\n<pre class=\"prism line-numbers lang-ts\" data-lang=\"TypeScript\"><code>const myCar = { make: \"Toyota\", model: \"Camry\", year: 2023 };<\/code><\/pre>\n<\/div>\n<p>Type casting achieves the same result by explicitly instructing TypeScript to treat the object as of the specified type.<\/p>\n<p>Property checking and excess property checking are key TypeScript notions that increase code safety and maintainability. Property checking guarantees that objects conform to prescribed types, whereas excess property checking avoids unwanted extra characteristics. Understanding and effectively applying these notions will assist you in writing robust and error-free TypeScript code.<\/p>\n<p>Embrace these checks as you progress through your TypeScript journey to realize the full potential of static typing, discovering possible issues early in the development process, and constructing more reliable apps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Explore TypeScript&#8217;s property checking and excess property checking to write safer code. Learn through examples and handle extra properties effectively.<\/p>\n","protected":false},"author":1,"featured_media":2155,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_themeisle_gutenberg_block_has_review":false,"footnotes":""},"categories":[87,4,25,175],"tags":[127,108,126,64,196,184,182,192,193],"class_list":["post-2153","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-development","category-lifestyle","category-programming","category-typescript","tag-easy-coding","tag-easy-coding-school","tag-easycoding","tag-easycodingschool","tag-typescrip-learning-hub","tag-typescript","tag-typescript-basic","tag-typescript-learning","tag-typescript-programming"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Mastering Property Checking and Excess Property Checking in TypeScript - Easy Coding School<\/title>\n<meta name=\"description\" content=\"Explore TypeScript&#039;s property checking and excess property checking to write safer code. Learn through examples and handle extra properties effectively.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mastering Property Checking and Excess Property Checking in TypeScript - Easy Coding School\" \/>\n<meta property=\"og:description\" content=\"Explore TypeScript&#039;s property checking and excess property checking to write safer code. Learn through examples and handle extra properties effectively.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/\" \/>\n<meta property=\"og:site_name\" content=\"Easy Coding School\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-19T02:47:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Mastering-Property-Checking-and-Excess-Property-Checking-in-TypeScript.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"660\" \/>\n\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"gauravkumarjha19@gmail.com\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"gauravkumarjha19@gmail.com\" \/>\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:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/\"},\"author\":{\"name\":\"gauravkumarjha19@gmail.com\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/9cabe8e90728da7f26676cbd1744558b\"},\"headline\":\"Mastering Property Checking and Excess Property Checking in TypeScript\",\"datePublished\":\"2023-09-19T02:47:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/\"},\"wordCount\":370,\"commentCount\":1,\"publisher\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Mastering-Property-Checking-and-Excess-Property-Checking-in-TypeScript.jpg\",\"keywords\":[\"Easy Coding\",\"Easy Coding School\",\"EasyCoding\",\"EasyCodingSchool\",\"typescrip learning hub\",\"Typescript\",\"typescript basic\",\"Typescript learning\",\"Typescript Programming\"],\"articleSection\":[\"Development\",\"Lifestyle\",\"Programming\",\"TypeScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/\",\"url\":\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/\",\"name\":\"Mastering Property Checking and Excess Property Checking in TypeScript - Easy Coding School\",\"isPartOf\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Mastering-Property-Checking-and-Excess-Property-Checking-in-TypeScript.jpg\",\"datePublished\":\"2023-09-19T02:47:28+00:00\",\"description\":\"Explore TypeScript's property checking and excess property checking to write safer code. Learn through examples and handle extra properties effectively.\",\"breadcrumb\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#primaryimage\",\"url\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Mastering-Property-Checking-and-Excess-Property-Checking-in-TypeScript.jpg\",\"contentUrl\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Mastering-Property-Checking-and-Excess-Property-Checking-in-TypeScript.jpg\",\"width\":660,\"height\":350,\"caption\":\"Mastering Property Checking and Excess Property Checking in TypeScript\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/easycodingschool.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mastering Property Checking and Excess Property Checking in TypeScript\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#website\",\"url\":\"https:\/\/easycodingschool.com\/blog\/\",\"name\":\"Easy Coding School\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/easycodingschool.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#organization\",\"name\":\"Easy Coding School\",\"url\":\"https:\/\/easycodingschool.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/07\/New-Project-10.png\",\"contentUrl\":\"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/07\/New-Project-10.png\",\"width\":310,\"height\":114,\"caption\":\"Easy Coding School \"},\"image\":{\"@id\":\"https:\/\/easycodingschool.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/9cabe8e90728da7f26676cbd1744558b\",\"name\":\"gauravkumarjha19@gmail.com\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6846a3cc9bd6cb5b779aef260fe379c4b93fa20e1a4c753eb023ff7c08d7c668?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6846a3cc9bd6cb5b779aef260fe379c4b93fa20e1a4c753eb023ff7c08d7c668?s=96&d=mm&r=g\",\"caption\":\"gauravkumarjha19@gmail.com\"},\"sameAs\":[\"https:\/\/easycodingschool.com\/blog\"],\"url\":\"https:\/\/easycodingschool.com\/blog\/author\/gauravkumarjha19gmail-com\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mastering Property Checking and Excess Property Checking in TypeScript - Easy Coding School","description":"Explore TypeScript's property checking and excess property checking to write safer code. Learn through examples and handle extra properties effectively.","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:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/","og_locale":"en_US","og_type":"article","og_title":"Mastering Property Checking and Excess Property Checking in TypeScript - Easy Coding School","og_description":"Explore TypeScript's property checking and excess property checking to write safer code. Learn through examples and handle extra properties effectively.","og_url":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/","og_site_name":"Easy Coding School","article_published_time":"2023-09-19T02:47:28+00:00","og_image":[{"width":660,"height":350,"url":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Mastering-Property-Checking-and-Excess-Property-Checking-in-TypeScript.jpg","type":"image\/jpeg"}],"author":"gauravkumarjha19@gmail.com","twitter_card":"summary_large_image","twitter_misc":{"Written by":"gauravkumarjha19@gmail.com","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#article","isPartOf":{"@id":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/"},"author":{"name":"gauravkumarjha19@gmail.com","@id":"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/9cabe8e90728da7f26676cbd1744558b"},"headline":"Mastering Property Checking and Excess Property Checking in TypeScript","datePublished":"2023-09-19T02:47:28+00:00","mainEntityOfPage":{"@id":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/"},"wordCount":370,"commentCount":1,"publisher":{"@id":"https:\/\/easycodingschool.com\/blog\/#organization"},"image":{"@id":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#primaryimage"},"thumbnailUrl":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Mastering-Property-Checking-and-Excess-Property-Checking-in-TypeScript.jpg","keywords":["Easy Coding","Easy Coding School","EasyCoding","EasyCodingSchool","typescrip learning hub","Typescript","typescript basic","Typescript learning","Typescript Programming"],"articleSection":["Development","Lifestyle","Programming","TypeScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/","url":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/","name":"Mastering Property Checking and Excess Property Checking in TypeScript - Easy Coding School","isPartOf":{"@id":"https:\/\/easycodingschool.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#primaryimage"},"image":{"@id":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#primaryimage"},"thumbnailUrl":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Mastering-Property-Checking-and-Excess-Property-Checking-in-TypeScript.jpg","datePublished":"2023-09-19T02:47:28+00:00","description":"Explore TypeScript's property checking and excess property checking to write safer code. Learn through examples and handle extra properties effectively.","breadcrumb":{"@id":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#primaryimage","url":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Mastering-Property-Checking-and-Excess-Property-Checking-in-TypeScript.jpg","contentUrl":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/09\/Mastering-Property-Checking-and-Excess-Property-Checking-in-TypeScript.jpg","width":660,"height":350,"caption":"Mastering Property Checking and Excess Property Checking in TypeScript"},{"@type":"BreadcrumbList","@id":"https:\/\/easycodingschool.com\/blog\/mastering-property-checking-and-excess-property-checking-in-typescript\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/easycodingschool.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Mastering Property Checking and Excess Property Checking in TypeScript"}]},{"@type":"WebSite","@id":"https:\/\/easycodingschool.com\/blog\/#website","url":"https:\/\/easycodingschool.com\/blog\/","name":"Easy Coding School","description":"","publisher":{"@id":"https:\/\/easycodingschool.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/easycodingschool.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/easycodingschool.com\/blog\/#organization","name":"Easy Coding School","url":"https:\/\/easycodingschool.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easycodingschool.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/07\/New-Project-10.png","contentUrl":"https:\/\/easycodingschool.com\/blog\/wp-content\/uploads\/2023\/07\/New-Project-10.png","width":310,"height":114,"caption":"Easy Coding School "},"image":{"@id":"https:\/\/easycodingschool.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/9cabe8e90728da7f26676cbd1744558b","name":"gauravkumarjha19@gmail.com","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/easycodingschool.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6846a3cc9bd6cb5b779aef260fe379c4b93fa20e1a4c753eb023ff7c08d7c668?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6846a3cc9bd6cb5b779aef260fe379c4b93fa20e1a4c753eb023ff7c08d7c668?s=96&d=mm&r=g","caption":"gauravkumarjha19@gmail.com"},"sameAs":["https:\/\/easycodingschool.com\/blog"],"url":"https:\/\/easycodingschool.com\/blog\/author\/gauravkumarjha19gmail-com\/"}]}},"_links":{"self":[{"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/posts\/2153","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/comments?post=2153"}],"version-history":[{"count":2,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/posts\/2153\/revisions"}],"predecessor-version":[{"id":2156,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/posts\/2153\/revisions\/2156"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/media\/2155"}],"wp:attachment":[{"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/media?parent=2153"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/categories?post=2153"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/easycodingschool.com\/blog\/wp-json\/wp\/v2\/tags?post=2153"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}