{"id":10714,"date":"2013-09-19T20:25:29","date_gmt":"2013-09-19T14:55:29","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=10714"},"modified":"2013-10-01T17:02:58","modified_gmt":"2013-10-01T11:32:58","slug":"protecting-objects-in-javascript","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/","title":{"rendered":"Protecting Objects In JavaScript"},"content":{"rendered":"<p>JavaScript is an amazing language. Its like a Lego constructor, depending on different parts you join together, you may get the script you need or just a pile of unwanted codes. Information hiding gets very important when you want to give access to only minimal interface of a module. Depending on the level of protection, this blog discusses each and every level with live examples on NodeJS console, allowing you to check them live and make changes in existing code to see how a change will happen if you insert a few lines of your own code.<\/p>\n<p style=\"text-align: left;\">Based on level of protection, it can be distinguished in three types:<\/p>\n<p><strong>1. Preventing Extensions:<\/strong><\/p>\n<p>[js]Object.preventExtentions(&quot; Your Object name &quot;);<br \/>\nObject.isExtensible(&quot; Your object name &quot;);<br \/>\n\/\/ it will return Boolean value (true\/false)[\/js]<\/p>\n<p>After \u00a0this, it is impossible to add new properties to your prevented object. But one is still able to delete properties of an object. Lets take an Example<\/p>\n<p>[js]var record={id:24,author:&quot;sahil&quot;};<\/p>\n<p>\/\/ now we add a new property to Object record<\/p>\n<p>record.title=&#8217;javascript&#8217;;<\/p>\n<p>console.log(record.title);<\/p>\n<p>\/\/ it will print &quot;undefined&quot;[\/js]<\/p>\n<p>You can still\u00a0delete properties in above example<\/p>\n<p>[js]delete record.author;<\/p>\n<p>\/\/result: true<\/p>\n<p>record.author;<\/p>\n<p>\/\/result: undefined[\/js]<\/p>\n<p>You can also see the example live on NodeJS Console:\u00a0<a href=\"http:\/\/www.node-console.com\/script\/javascript-object-protection-using-prevent-extensions\">http:\/\/www.node-console.com\/script\/javascript-object-protection-using-prevent-extensions<\/a><\/p>\n<p><strong>2. Sealing<\/strong><\/p>\n<p>[js]Object.seal(&quot; Your Object Name&quot;);<br \/>\nObject.isSealed(record);<br \/>\n\/\/return boolean value true\/false[\/js]<\/p>\n<p>Sealing of an object doesn&#8217;t allow that object to extend (Prevent Extensions) and \u00a0also make its properties non-configurable.To check property description for a particular property we can do it by &#8220;getOwnPropertyDescriptor&#8221;. Example:<\/p>\n<p>[js]Object.getOwnPropertyDescriptor(record,&#8217;id&#8217;);<\/p>\n<p>Object.sealing(obj);<\/p>\n<p>Object.getOwnPropertyDescriptor(record,&#8217;id&#8217;);[\/js]<\/p>\n<p>Though we can still change the property &#8216;id&#8217;:<\/p>\n<p>[js]record.id=89;[\/js]<\/p>\n<p>but the changes to attributes cannot be made:<\/p>\n<p>[js]Object.defineProperty(record,&#8217;id&#8217;,{enumerable:false});[\/js]<\/p>\n<p><strong>Result<\/strong>: cannot redefine property &#8216;id&#8217;<\/p>\n<p>Example live on NodeJS Console:\u00a0<a href=\"http:\/\/www.node-console.com\/script\/javascript-object-protection-using-sealing\">http:\/\/www.node-console.com\/script\/javascript-object-protection-using-sealing<\/a><\/p>\n<p><strong>3. Freezing<\/strong><\/p>\n<p>[js]Objects.freeze(&quot; your object name &quot;);[\/js]<\/p>\n<p>Freezing is strongest among all and freezing contains all features of both &#8216;prevent extensions&#8217; as \u00a0well as &#8216;sealing&#8217;. After freezing, creation ,deletion and updation of new property\/properties is\/are not possible .<\/p>\n<p>[js]var record={id:17,author:&quot;sahil&quot;};<\/p>\n<p>Object.freeze(record);<\/p>\n<p>record.id=20;<\/p>\n<p>console.log(record.id)<\/p>\n<p>\/\/ it will print 17[\/js]<\/p>\n<p><strong>Checking whether object is frozen<\/strong><\/p>\n<p>[js]Object.freeze(&quot; your object name &quot;);[\/js]<\/p>\n<p>To see it live, visit:\u00a0<a href=\"http:\/\/www.node-console.com\/script\/javascript-object-protection-using-freezing\">http:\/\/www.node-console.com\/script\/javascript-object-protection-using-freezing<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>JavaScript is an amazing language. Its like a Lego constructor, depending on different parts you join together, you may get the script you need or just a pile of unwanted codes. Information hiding gets very important when you want to give access to only minimal interface of a module. Depending on the level of protection, [&hellip;]<\/p>\n","protected":false},"author":66,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":3,"footnotes":""},"categories":[1185],"tags":[1194,55,1193,1195],"class_list":["post-10714","post","type-post","status-publish","format-standard","hentry","category-node-js-2","tag-dev","tag-javascript","tag-javascript-objects","tag-jslang"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"JavaScript is an amazing language. Its like a Lego constructor, depending on different parts you join together, you may get the script you need or just a pile of unwanted codes. Information hiding gets very important when you want to give access to only minimal interface of a module. Depending on the level of protection,\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Sahil Chitkara\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Protecting Objects In JavaScript | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"JavaScript is an amazing language. Its like a Lego constructor, depending on different parts you join together, you may get the script you need or just a pile of unwanted codes. Information hiding gets very important when you want to give access to only minimal interface of a module. Depending on the level of protection,\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Protecting Objects In JavaScript | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"JavaScript is an amazing language. Its like a Lego constructor, depending on different parts you join together, you may get the script you need or just a pile of unwanted codes. Information hiding gets very important when you want to give access to only minimal interface of a module. Depending on the level of protection,\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protecting-objects-in-javascript\\\/#article\",\"name\":\"Protecting Objects In JavaScript | TO THE NEW Blog\",\"headline\":\"Protecting Objects In JavaScript\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sahil\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2013-09-19T20:25:29+05:30\",\"dateModified\":\"2013-10-01T17:02:58+05:30\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protecting-objects-in-javascript\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protecting-objects-in-javascript\\\/#webpage\"},\"articleSection\":\"Node.js, dev, javascript, javascript objects, jslang\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protecting-objects-in-javascript\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/node-js-2\\\/#listItem\",\"name\":\"Node.js\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/node-js-2\\\/#listItem\",\"position\":2,\"name\":\"Node.js\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/node-js-2\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protecting-objects-in-javascript\\\/#listItem\",\"name\":\"Protecting Objects In JavaScript\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protecting-objects-in-javascript\\\/#listItem\",\"position\":3,\"name\":\"Protecting Objects In JavaScript\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/node-js-2\\\/#listItem\",\"name\":\"Node.js\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sahil\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sahil\\\/\",\"name\":\"Sahil Chitkara\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protecting-objects-in-javascript\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/b91bdfc498b589781ffafd1e1add2085872ca7c745e54e167c93abc1853439f4?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Sahil Chitkara\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protecting-objects-in-javascript\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protecting-objects-in-javascript\\\/\",\"name\":\"Protecting Objects In JavaScript | TO THE NEW Blog\",\"description\":\"JavaScript is an amazing language. Its like a Lego constructor, depending on different parts you join together, you may get the script you need or just a pile of unwanted codes. Information hiding gets very important when you want to give access to only minimal interface of a module. Depending on the level of protection,\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/protecting-objects-in-javascript\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sahil\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/sahil\\\/#author\"},\"datePublished\":\"2013-09-19T20:25:29+05:30\",\"dateModified\":\"2013-10-01T17:02:58+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Protecting Objects In JavaScript | TO THE NEW Blog","description":"JavaScript is an amazing language. Its like a Lego constructor, depending on different parts you join together, you may get the script you need or just a pile of unwanted codes. Information hiding gets very important when you want to give access to only minimal interface of a module. Depending on the level of protection,","canonical_url":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/#article","name":"Protecting Objects In JavaScript | TO THE NEW Blog","headline":"Protecting Objects In JavaScript","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/sahil\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2013-09-19T20:25:29+05:30","dateModified":"2013-10-01T17:02:58+05:30","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/#webpage"},"articleSection":"Node.js, dev, javascript, javascript objects, jslang"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/node-js-2\/#listItem","name":"Node.js"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/node-js-2\/#listItem","position":2,"name":"Node.js","item":"https:\/\/www.tothenew.com\/blog\/category\/node-js-2\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/#listItem","name":"Protecting Objects In JavaScript"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/#listItem","position":3,"name":"Protecting Objects In JavaScript","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/node-js-2\/#listItem","name":"Node.js"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/sahil\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/sahil\/","name":"Sahil Chitkara","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/b91bdfc498b589781ffafd1e1add2085872ca7c745e54e167c93abc1853439f4?s=96&d=mm&r=g","width":96,"height":96,"caption":"Sahil Chitkara"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/","name":"Protecting Objects In JavaScript | TO THE NEW Blog","description":"JavaScript is an amazing language. Its like a Lego constructor, depending on different parts you join together, you may get the script you need or just a pile of unwanted codes. Information hiding gets very important when you want to give access to only minimal interface of a module. Depending on the level of protection,","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/sahil\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/sahil\/#author"},"datePublished":"2013-09-19T20:25:29+05:30","dateModified":"2013-10-01T17:02:58+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Protecting Objects In JavaScript | TO THE NEW Blog","og:description":"JavaScript is an amazing language. Its like a Lego constructor, depending on different parts you join together, you may get the script you need or just a pile of unwanted codes. Information hiding gets very important when you want to give access to only minimal interface of a module. Depending on the level of protection,","og:url":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Protecting Objects In JavaScript | TO THE NEW Blog","twitter:description":"JavaScript is an amazing language. Its like a Lego constructor, depending on different parts you join together, you may get the script you need or just a pile of unwanted codes. Information hiding gets very important when you want to give access to only minimal interface of a module. Depending on the level of protection,","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"10714","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2021-04-30 06:59:58","updated":"2024-02-29 08:53:59","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/node-js-2\/\" title=\"Node.js\">Node.js<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tProtecting Objects In JavaScript\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Node.js","link":"https:\/\/www.tothenew.com\/blog\/category\/node-js-2\/"},{"label":"Protecting Objects In JavaScript","link":"https:\/\/www.tothenew.com\/blog\/protecting-objects-in-javascript\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/10714","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/66"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=10714"}],"version-history":[{"count":0,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/10714\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=10714"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=10714"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=10714"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}