{"id":20500,"date":"2020-07-30T10:29:36","date_gmt":"2020-07-30T17:29:36","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=20500"},"modified":"2023-12-01T03:57:08","modified_gmt":"2023-12-01T11:57:08","slug":"python-str-object-does-not-support-item-assignment","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/","title":{"rendered":"Python &#8216;str&#8217; object does not support item assignment solution"},"content":{"rendered":"\n<p><a href=\"https:\/\/careerkarma.com\/blog\/python-string-methods\/\">Strings<\/a> in Python are immutable. This means that they cannot be changed. If you try to change the contents of an existing string, you&#8217;re liable to find an error that says something like &#8220;&#8216;str&#8217; object does not support item assignment&#8221;.<br><\/p>\n\n\n\n<p>In this guide, we&#8217;re going to talk about this common Python error and how it works. We&#8217;ll walk through a code snippet with this error present so we can explore how to fix it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Problem: &#8216;str&#8217; object does not support item assignment<\/h2>\n\n\n\n<p>Let&#8217;s start by taking a look at our error: Typeerror: &#8216;str&#8217; object does not support item assignment.<br><\/p>\n\n\n\n<p>This error message tells us that a string object (a sequence of characters) cannot be assigned an item. This error is raised when you try to change the value of a string using the assignment operator.<br><\/p>\n\n\n\n<p>The most common scenario in which this error is raised is when you try to change a string by its <a href=\"https:\/\/careerkarma.com\/blog\/python-index\/\">index values<\/a>. The following code yields the item assignment error:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>string = &quot;Banana&quot;\nstring[0] = &quot;A&quot;<\/pre><\/div>\n\n\n\n<p>You cannot change the character at the index position 0 because strings are immutable.<br><\/p>\n\n\n\n<p>You should check to see if there are any string methods that you can use to create a modified copy of a string if applicable. You could also use slicing if you want to create a new string based on parts of an old string.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>We&#8217;re going to write a program that checks whether a number is in a string. If a number is in a string, it should be replaced with an empty string. This will remove the number. Our program is below:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>name = input(&quot;Enter a username: &quot;)\n\nfor c in range(len(name)):\n\tif not name[c].isnumeric():\n\t\tname[c] = &quot;&quot;\n\nprint(name)<\/pre><\/div>\n\n\n\n<p>This code accepts a username from the user using the <a href=\"https:\/\/careerkarma.com\/blog\/python-input\/\">input() method<\/a>. It then loops through every character in the username using a <a href=\"https:\/\/careerkarma.com\/blog\/python-for-loop\/\">for loop<\/a> and checks if that character is a number. If it is, we try to replace that character with an empty string. Let&#8217;s run our code and see what happens:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Enter a username: pythonista101\nTraceback (most recent call last):\n  File &quot;main.py&quot;, line 5, in &lt;module&gt;\n\tname[c] = &quot;&quot;\nTypeError: 'str' object does not support item assignment<\/pre><\/div>\n\n\n\n<p>Our code has returned an error.<br><\/p>\n\n\n\n<p>The cause of this error is that we&#8217;re trying to assign a string to an index value in &#8220;name&#8221;:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>name[c] = &quot;&quot;<\/pre><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>We can solve this error by adding non-numeric characters to a new string. Let&#8217;s see how it works:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>name = input(&quot;Enter a username: &quot;)\nfinal_username = &quot;&quot;\n\nfor c in range(len(name)):\n\tif not name[c].isnumeric():\n\t\tfinal_username += name[c]\n\nprint(final_username)<\/pre><\/div>\n\n\n\n<p>This code replaces the character at name[c] with an empty string.&nbsp;<br><\/p>\n\n\n\n<p>We have created a separate variable called &#8220;final_username&#8221;. This variable is initially an empty string. If our for loop finds a character that is not a number, that character is added to the end of the &#8220;final_username&#8221; string. Otherwise, nothing happens. We check to see if a character is a number using the <a href=\"https:\/\/careerkarma.com\/blog\/python-isalpha-isnumeric-isalnum\/\">isnumeric()<\/a> method.<br><\/p>\n\n\n\n<p>We add a character to the &#8220;final_username&#8221; string using the addition assignment operator. This operator adds one value to another value. In this case, the operator adds a character to the end of the &#8220;final_username&#8221; string.<br><\/p>\n\n\n\n<p>Let&#8217;s run our code:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Enter a username: pythonista101\npythonista<\/pre><\/div>\n\n\n\n<p>Our code successfully removed all of the numbers from our string. This code works because we are no longer trying to change an existing string. We instead create a new string called &#8220;final_username&#8221; to which we add all the letter-based characters from our username string.<\/p>\n\n\n\n<iframe loading=\"lazy\" frameborder=\"0\" width=\"100%\" height=\"400px\" src=\"https:\/\/repl.it\/@careerkarma\/str-object-does-not-support-item-assignment?lite=true\"><\/iframe>\n<br>\n<br>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>In Python, strings cannot be modified. You need to create a new string based on the contents of an old one if you want to change a string.<br><\/p>\n\n\n\n<p>The &#8220;&#8216;str&#8217; object does not support item assignment&#8221; error tells you that you are trying to modify the value of an existing string.<br><\/p>\n\n\n\n<p>Now you&#8217;re ready to solve this <a href=\"https:\/\/careerkarma.com\/blog\/python-projects-beginners\/\">Python<\/a> error like an expert.<\/p>\n","protected":false},"excerpt":{"rendered":"Strings in Python are immutable. This means that they cannot be changed. If you try to change the contents of an existing string, you're liable to find an error that says something like \"'str' object does not support item assignment\". In this guide, we're going to talk about this common Python error and how it&hellip;","protected":false},"author":240,"featured_media":14525,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-20500","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"acf":{"post_sub_title":"","sprint_id":"","query_class":"Python","school_sft":"","parent_sft":"","school_privacy_policy":"","has_review":null,"is_sponser_post":"","is_guest_post":[]},"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.0 (Yoast SEO v27.0) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Python \u2018str\u2019 object does not support item assignment | Career Karma<\/title>\n<meta name=\"description\" content=\"On Career Karma, learn about the Python &#039;str&#039; object does not support item assignment error and how to solve it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python &#039;str&#039; object does not support item assignment solution\" \/>\n<meta property=\"og:description\" content=\"On Career Karma, learn about the Python &#039;str&#039; object does not support item assignment error and how to solve it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/\" \/>\n<meta property=\"og:site_name\" content=\"Career Karma\" \/>\n<meta property=\"article:publisher\" content=\"http:\/\/facebook.com\/careerkarmaapp\" \/>\n<meta property=\"article:published_time\" content=\"2020-07-30T17:29:36+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:57:08+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/john-schnobrich-FlPc9_VocJ4-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"667\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"James Gallagher\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@career_karma\" \/>\n<meta name=\"twitter:site\" content=\"@career_karma\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"James Gallagher\" \/>\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:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python &#8216;str&#8217; object does not support item assignment solution\",\"datePublished\":\"2020-07-30T17:29:36+00:00\",\"dateModified\":\"2023-12-01T11:57:08+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/\"},\"wordCount\":605,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/john-schnobrich-FlPc9_VocJ4-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/\",\"name\":\"Python \u2018str\u2019 object does not support item assignment | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/john-schnobrich-FlPc9_VocJ4-unsplash.jpg\",\"datePublished\":\"2020-07-30T17:29:36+00:00\",\"dateModified\":\"2023-12-01T11:57:08+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"On Career Karma, learn about the Python 'str' object does not support item assignment error and how to solve it.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/john-schnobrich-FlPc9_VocJ4-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/john-schnobrich-FlPc9_VocJ4-unsplash.jpg\",\"width\":1000,\"height\":667,\"caption\":\"hand points to something on a laptop computer\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog\",\"item\":\"https:\/\/careerkarma.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python\",\"item\":\"https:\/\/careerkarma.com\/blog\/python\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Python &#8216;str&#8217; object does not support item assignment solution\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\",\"url\":\"https:\/\/careerkarma.com\/blog\/\",\"name\":\"Career Karma\",\"description\":\"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/careerkarma.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\",\"name\":\"James Gallagher\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg\",\"caption\":\"James Gallagher\"},\"description\":\"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.\",\"url\":\"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Python \u2018str\u2019 object does not support item assignment | Career Karma","description":"On Career Karma, learn about the Python 'str' object does not support item assignment error and how to solve it.","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:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/","og_locale":"en_US","og_type":"article","og_title":"Python 'str' object does not support item assignment solution","og_description":"On Career Karma, learn about the Python 'str' object does not support item assignment error and how to solve it.","og_url":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-07-30T17:29:36+00:00","article_modified_time":"2023-12-01T11:57:08+00:00","og_image":[{"width":1000,"height":667,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/john-schnobrich-FlPc9_VocJ4-unsplash.jpg","type":"image\/jpeg"}],"author":"James Gallagher","twitter_card":"summary_large_image","twitter_creator":"@career_karma","twitter_site":"@career_karma","twitter_misc":{"Written by":"James Gallagher","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python &#8216;str&#8217; object does not support item assignment solution","datePublished":"2020-07-30T17:29:36+00:00","dateModified":"2023-12-01T11:57:08+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/"},"wordCount":605,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/john-schnobrich-FlPc9_VocJ4-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/","url":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/","name":"Python \u2018str\u2019 object does not support item assignment | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/john-schnobrich-FlPc9_VocJ4-unsplash.jpg","datePublished":"2020-07-30T17:29:36+00:00","dateModified":"2023-12-01T11:57:08+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"On Career Karma, learn about the Python 'str' object does not support item assignment error and how to solve it.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/john-schnobrich-FlPc9_VocJ4-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/04\/john-schnobrich-FlPc9_VocJ4-unsplash.jpg","width":1000,"height":667,"caption":"hand points to something on a laptop computer"},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-str-object-does-not-support-item-assignment\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog","item":"https:\/\/careerkarma.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python","item":"https:\/\/careerkarma.com\/blog\/python\/"},{"@type":"ListItem","position":3,"name":"Python &#8216;str&#8217; object does not support item assignment solution"}]},{"@type":"WebSite","@id":"https:\/\/careerkarma.com\/blog\/#website","url":"https:\/\/careerkarma.com\/blog\/","name":"Career Karma","description":"Latest Coding Bootcamp News &amp; Career Hacks from Industry Insiders","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/careerkarma.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94","name":"James Gallagher","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/01\/james-gallagher-150x150.jpg","caption":"James Gallagher"},"description":"James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.","url":"https:\/\/careerkarma.com\/blog\/author\/jamesgallagher\/"}]}},"_links":{"self":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/20500","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/users\/240"}],"replies":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/comments?post=20500"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/20500\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/14525"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=20500"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=20500"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=20500"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}