{"id":20734,"date":"2025-11-07T16:51:22","date_gmt":"2025-11-07T11:21:22","guid":{"rendered":"https:\/\/vinish.dev\/?p=20734"},"modified":"2025-11-07T16:51:23","modified_gmt":"2025-11-07T11:21:23","slug":"oracle-nvl2-function","status":"publish","type":"post","link":"https:\/\/vinish.dev\/oracle-nvl2-function","title":{"rendered":"Oracle NVL2 Function: A Simple Guide"},"content":{"rendered":"\n<p>The <code>NVL2<\/code> function in <a href=\"https:\/\/vinish.dev\/oracle-23ai-tutorials\">Oracle<\/a> SQL is a powerful \"if-then-else\" function for handling NULL values. It's an extension of the basic <code>NVL<\/code> function.<\/p>\n\n\n\n<p><code>NVL2<\/code> checks an expression. It returns one value if the expression is <strong>NOT NULL<\/strong>, and a <em>different<\/em> value if the expression <strong>IS NULL<\/strong>. This is very useful for conditional logic.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What is the NVL2 Function in Oracle?<\/h2>\n\n\n\n<p>The <code>NVL2(expr1, expr2, expr3)<\/code> function is a concise way to write a <code>CASE<\/code> statement.<\/p>\n\n\n\n<p>It is logically identical to this:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CASE \n  WHEN expr1 IS NOT NULL THEN expr2\n  ELSE expr3 \nEND\n<\/code><\/pre>\n\n\n\n<p>This is extremely useful for:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Calculating a value only if a component is not null (e.g., <code>salary + commission<\/code>).<\/li>\n\n\n\n<li>Returning one text string if a value exists (e.g., 'Has Phone') and another if it's null (e.g., 'No Phone').<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">NVL2 Function Syntax<\/h2>\n\n\n\n<p>The syntax for <code>NVL2<\/code> requires three arguments:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>NVL2(expr1, expr2, expr3)\n<\/code><\/pre>\n\n\n\n<p>Let's break that down:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong><code>expr1<\/code><\/strong>: The expression to check (e.g., <code>commission_pct<\/code>).<\/li>\n\n\n\n<li><strong><code>expr2<\/code><\/strong>: The value to return if <code>expr1<\/code> is <strong>NOT NULL<\/strong>.<\/li>\n\n\n\n<li><strong><code>expr3<\/code><\/strong>: The value to return if <code>expr1<\/code> is <strong>NULL<\/strong>.<\/li>\n<\/ul>\n\n\n\n<p>The data types of <code>expr2<\/code> and <code>expr3<\/code> must be compatible (or convertible).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Oracle NVL2 Function Examples<\/h2>\n\n\n\n<p>Here are two practical examples of how to use <code>NVL2<\/code>.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Example 1: Calculating \"Total Pay\" with Commission using NVL2<\/h3>\n\n\n\n<p>This is the classic example for <code>NVL2<\/code>. You want to calculate an employee's total income. If they <em>have<\/em> a commission, the income is <code>salary + (salary * commission_pct)<\/code>. If they do <em>not<\/em> have a commission (it's <code>NULL<\/code>), their income is just their <code>salary<\/code>.<\/p>\n\n\n\n<p><strong>Query:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>SELECT \n  last_name, \n  salary, \n  commission_pct,\n  NVL2(\n    commission_pct,                       -- 1. The value to check\n    salary + (salary * commission_pct),   -- 2. Return this if it's NOT NULL\n    salary                                -- 3. Return this if it's NULL\n  ) AS \"Income\"\nFROM employees\nWHERE last_name LIKE 'B%';\n<\/code><\/pre>\n\n\n\n<p><strong>Result:<\/strong> <em>(Notice how Banda's and Bernstein's income is calculated, while Baer's just defaults to their salary.)<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>LAST_NAME                     SALARY COMMISSION_PCT     Income\n------------------------- ---------- -------------- ----------\nBaer                           10000         (NULL)      10000\nBaida                           2900         (NULL)       2900\nBanda                           6200             .1       6820\nBates                           7300            .15       8395\nBell                            4000         (NULL)       4000\nBernstein                       9500            .25      11875\n...\n<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Example 2: Returning a Descriptive String using NVL2<\/h3>\n\n\n\n<p>This example shows how to use <code>NVL2<\/code> to return a simple, human-readable status string based on whether a value is <code>NULL<\/code> or not.<\/p>\n\n\n\n<p><strong>Query:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>-- We will simulate a 'contacts' table\nWITH contacts AS (\n  SELECT 'Alice' AS name, '555-1234' AS phone FROM DUAL UNION ALL\n  SELECT 'Bob' AS name, NULL AS phone FROM DUAL\n)\nSELECT\n  name,\n  NVL2(\n    phone,             -- 1. Check the phone column\n    'Has Contact',     -- 2. Return this if it's NOT NULL\n    'No Contact Info'  -- 3. Return this if it's NULL\n  ) AS \"Status\"\nFROM contacts;\n<\/code><\/pre>\n\n\n\n<p><strong>Result:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>NAME    Status\n------- -----------------\nAlice   Has Contact\nBob     No Contact Info\n<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The NVL2 function in Oracle SQL is a powerful \"if-then-else\" function for handling NULL values. It's an extension of the basic NVL function. NVL2 checks an expression. It returns one value if the expression is NOT NULL, and a different value if the expression IS NULL. This is very useful for conditional logic. What is [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1833,1807],"tags":[1822],"class_list":["post-20734","post","type-post","status-publish","format-standard","hentry","category-null-function","category-oracle-sql","tag-ai-assisted"],"blocksy_meta":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Oracle NVL2 function &#8226; Vinish.Dev<\/title>\n<meta name=\"description\" content=\"Learn the Oracle NVL2 function. This simple SQL guide explains how to return one of two values based on whether an expression is null or not.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/vinish.dev\/oracle-nvl2-function\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Oracle NVL2 function &#8226; Vinish.Dev\" \/>\n<meta property=\"og:description\" content=\"Learn the Oracle NVL2 function. This simple SQL guide explains how to return one of two values based on whether an expression is null or not.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/vinish.dev\/oracle-nvl2-function\" \/>\n<meta property=\"og:site_name\" content=\"Vinish.Dev\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/foxinfotech2014\" \/>\n<meta property=\"article:published_time\" content=\"2025-11-07T11:21:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-07T11:21:23+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/vinish.dev\/wp-content\/uploads\/2024\/09\/homepage-vinish.dev_.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"693\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Vinish Kapoor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/x.com\/vinish_kapoor\" \/>\n<meta name=\"twitter:site\" content=\"@foxinfotech\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vinish Kapoor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nvl2-function#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nvl2-function\"},\"author\":{\"name\":\"Vinish Kapoor\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/a7790479716d2a54131ca873f8483d3f\"},\"headline\":\"Oracle NVL2 Function: A Simple Guide\",\"datePublished\":\"2025-11-07T11:21:22+00:00\",\"dateModified\":\"2025-11-07T11:21:23+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nvl2-function\"},\"wordCount\":272,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/df5e5ca816f6f4302efc03cf58dc97b4\"},\"keywords\":[\"AI-Assisted\"],\"articleSection\":[\"NULL Function\",\"Oracle SQL\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/vinish.dev\\\/oracle-nvl2-function#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nvl2-function\",\"url\":\"https:\\\/\\\/vinish.dev\\\/oracle-nvl2-function\",\"name\":\"Oracle NVL2 function &#8226; Vinish.Dev\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/#website\"},\"datePublished\":\"2025-11-07T11:21:22+00:00\",\"dateModified\":\"2025-11-07T11:21:23+00:00\",\"description\":\"Learn the Oracle NVL2 function. This simple SQL guide explains how to return one of two values based on whether an expression is null or not.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nvl2-function#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/vinish.dev\\\/oracle-nvl2-function\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/oracle-nvl2-function#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/vinish.dev\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Oracle SQL\",\"item\":\"https:\\\/\\\/vinish.dev\\\/category\\\/oracle-sql\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"NULL Function\",\"item\":\"https:\\\/\\\/vinish.dev\\\/category\\\/oracle-sql\\\/null-function\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Oracle NVL2 Function: A Simple Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/#website\",\"url\":\"https:\\\/\\\/vinish.dev\\\/\",\"name\":\"Vinish.Dev\",\"description\":\"Vinish Kapoor&#039;s Blog: Best Oracle Blog for Developers\",\"publisher\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/df5e5ca816f6f4302efc03cf58dc97b4\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/vinish.dev\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/df5e5ca816f6f4302efc03cf58dc97b4\",\"name\":\"Vinish Kapoor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\",\"url\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\",\"contentUrl\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\",\"width\":192,\"height\":192,\"caption\":\"Vinish Kapoor\"},\"logo\":{\"@id\":\"https:\\\/\\\/vinish.dev\\\/wp-content\\\/uploads\\\/2023\\\/12\\\/vinishprofile.png\"},\"description\":\"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.\",\"sameAs\":[\"https:\\\/\\\/vinish.dev\\\/\",\"https:\\\/\\\/www.facebook.com\\\/foxinfotech2014\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/vinish-kapoor\\\/\",\"https:\\\/\\\/x.com\\\/foxinfotech\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/vinish.dev\\\/#\\\/schema\\\/person\\\/a7790479716d2a54131ca873f8483d3f\",\"name\":\"Vinish Kapoor\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g\",\"caption\":\"Vinish Kapoor\"},\"description\":\"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.\",\"sameAs\":[\"https:\\\/\\\/vinish.dev\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/vinish-kapoor\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/x.com\\\/vinish_kapoor\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Oracle NVL2 function &#8226; Vinish.Dev","description":"Learn the Oracle NVL2 function. This simple SQL guide explains how to return one of two values based on whether an expression is null or not.","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:\/\/vinish.dev\/oracle-nvl2-function","og_locale":"en_US","og_type":"article","og_title":"Oracle NVL2 function &#8226; Vinish.Dev","og_description":"Learn the Oracle NVL2 function. This simple SQL guide explains how to return one of two values based on whether an expression is null or not.","og_url":"https:\/\/vinish.dev\/oracle-nvl2-function","og_site_name":"Vinish.Dev","article_publisher":"https:\/\/www.facebook.com\/foxinfotech2014","article_published_time":"2025-11-07T11:21:22+00:00","article_modified_time":"2025-11-07T11:21:23+00:00","og_image":[{"width":1200,"height":693,"url":"https:\/\/vinish.dev\/wp-content\/uploads\/2024\/09\/homepage-vinish.dev_.png","type":"image\/png"}],"author":"Vinish Kapoor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/x.com\/vinish_kapoor","twitter_site":"@foxinfotech","twitter_misc":{"Written by":"Vinish Kapoor","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/vinish.dev\/oracle-nvl2-function#article","isPartOf":{"@id":"https:\/\/vinish.dev\/oracle-nvl2-function"},"author":{"name":"Vinish Kapoor","@id":"https:\/\/vinish.dev\/#\/schema\/person\/a7790479716d2a54131ca873f8483d3f"},"headline":"Oracle NVL2 Function: A Simple Guide","datePublished":"2025-11-07T11:21:22+00:00","dateModified":"2025-11-07T11:21:23+00:00","mainEntityOfPage":{"@id":"https:\/\/vinish.dev\/oracle-nvl2-function"},"wordCount":272,"commentCount":0,"publisher":{"@id":"https:\/\/vinish.dev\/#\/schema\/person\/df5e5ca816f6f4302efc03cf58dc97b4"},"keywords":["AI-Assisted"],"articleSection":["NULL Function","Oracle SQL"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/vinish.dev\/oracle-nvl2-function#respond"]}]},{"@type":"WebPage","@id":"https:\/\/vinish.dev\/oracle-nvl2-function","url":"https:\/\/vinish.dev\/oracle-nvl2-function","name":"Oracle NVL2 function &#8226; Vinish.Dev","isPartOf":{"@id":"https:\/\/vinish.dev\/#website"},"datePublished":"2025-11-07T11:21:22+00:00","dateModified":"2025-11-07T11:21:23+00:00","description":"Learn the Oracle NVL2 function. This simple SQL guide explains how to return one of two values based on whether an expression is null or not.","breadcrumb":{"@id":"https:\/\/vinish.dev\/oracle-nvl2-function#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/vinish.dev\/oracle-nvl2-function"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/vinish.dev\/oracle-nvl2-function#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/vinish.dev\/"},{"@type":"ListItem","position":2,"name":"Oracle SQL","item":"https:\/\/vinish.dev\/category\/oracle-sql"},{"@type":"ListItem","position":3,"name":"NULL Function","item":"https:\/\/vinish.dev\/category\/oracle-sql\/null-function"},{"@type":"ListItem","position":4,"name":"Oracle NVL2 Function: A Simple Guide"}]},{"@type":"WebSite","@id":"https:\/\/vinish.dev\/#website","url":"https:\/\/vinish.dev\/","name":"Vinish.Dev","description":"Vinish Kapoor&#039;s Blog: Best Oracle Blog for Developers","publisher":{"@id":"https:\/\/vinish.dev\/#\/schema\/person\/df5e5ca816f6f4302efc03cf58dc97b4"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/vinish.dev\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/vinish.dev\/#\/schema\/person\/df5e5ca816f6f4302efc03cf58dc97b4","name":"Vinish Kapoor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png","url":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png","contentUrl":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png","width":192,"height":192,"caption":"Vinish Kapoor"},"logo":{"@id":"https:\/\/vinish.dev\/wp-content\/uploads\/2023\/12\/vinishprofile.png"},"description":"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.","sameAs":["https:\/\/vinish.dev\/","https:\/\/www.facebook.com\/foxinfotech2014","https:\/\/www.linkedin.com\/in\/vinish-kapoor\/","https:\/\/x.com\/foxinfotech"]},{"@type":"Person","@id":"https:\/\/vinish.dev\/#\/schema\/person\/a7790479716d2a54131ca873f8483d3f","name":"Vinish Kapoor","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a67232caa79b11f24f16c371866a96cfb575e011ebda6fa6e3d088a837a31bde?s=96&d=identicon&r=g","caption":"Vinish Kapoor"},"description":"Vinish Kapoor is a seasoned software development professional and a fervent enthusiast of artificial intelligence (AI). His impressive career spans over 25+ years, marked by a relentless pursuit of innovation and excellence in the field of information technology. As an Oracle ACE, Vinish has distinguished himself as a leading expert in Oracle technologies, a title awarded to individuals who have demonstrated their deep commitment, leadership, and expertise in the Oracle community.","sameAs":["https:\/\/vinish.dev\/","https:\/\/www.linkedin.com\/in\/vinish-kapoor\/","https:\/\/x.com\/https:\/\/x.com\/vinish_kapoor"]}]}},"_links":{"self":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts\/20734","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/comments?post=20734"}],"version-history":[{"count":1,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts\/20734\/revisions"}],"predecessor-version":[{"id":20735,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/posts\/20734\/revisions\/20735"}],"wp:attachment":[{"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/media?parent=20734"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/categories?post=20734"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vinish.dev\/wp-json\/wp\/v2\/tags?post=20734"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}