{"id":22408,"date":"2020-09-10T21:44:39","date_gmt":"2020-09-11T04:44:39","guid":{"rendered":"https:\/\/careerkarma.com\/blog\/?p=22408"},"modified":"2023-12-01T03:59:35","modified_gmt":"2023-12-01T11:59:35","slug":"python-typeerror-object-of-type-int-has-no-len","status":"publish","type":"post","link":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/","title":{"rendered":"Python TypeError: object of type \u2018int\u2019 has no len() Solution"},"content":{"rendered":"\n<p>Only iterable objects such as strings and lists have a length. If you try to calculate the length of a number, you\u2019ll encounter the \u201cTypeError: object of type \u2018int\u2019 has no len()\u201d error.<br><\/p>\n\n\n\n<p>In this guide, we discuss what this error means and why it is raised. We\u2019ll explore an example of a code snippet with this error so we can walk through how to fix the issue.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">TypeError: object of type \u2018int\u2019 has no len()<\/h2>\n\n\n\n<p>The <a href=\"https:\/\/careerkarma.com\/blog\/python-len\/\">len() method<\/a> returns the length of an object. Consider the following program:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>browsers = [&quot;Microsoft Edge&quot;, &quot;Mozilla Firefox&quot;, &quot;Google Chrome&quot;)\nprint(len(browsers))<\/pre><\/div>\n\n\n\n<p>Our program returns \u201c3\u201d. This is the length of our <a href=\"https:\/\/careerkarma.com\/blog\/how-to-initialize-a-list-in-python\/\">Python list<\/a>. The length of the \u201cbrowsers\u201d object can be calculated because it contains multiple values.<br><\/p>\n\n\n\n<p>Strings, tuples, and lists all work with the <code>len()<\/code> method because they are sequences of values. Integer values do not have a length because they only represent one value. Integers store a number which does not have a \u201clength\u201d like any other iterable object.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">An Example Scenario<\/h2>\n\n\n\n<p>We\u2019re going to write a program that calculates how many customers at an electronics store are part of a loyalty club program. We\u2019ll start with a list of dictionaries which each store information about our customers:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>customers = [\n\t  { &quot;name&quot;: &quot;Lesley Jones&quot;, &quot;loyalty&quot;: True },\n\t  { &quot;name&quot;: &quot;Benjamin Logan&quot;, &quot;loyalty&quot;: True },\n\t  { &quot;name&quot;: &quot;Hannah Mason&quot;, &quot;loyalty&quot;: False }\n]<\/pre><\/div>\n\n\n\n<p>Our customers list contains <a href=\"https:\/\/careerkarma.com\/blog\/python-dictionary-values\/\">three dictionaries<\/a>. Next, use a for loop to calculate how many customers are loyalty club members:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>number_of_loyalty = 0\n\nfor c in customers:\n\t     if c[&quot;loyalty&quot;] == True:\n\t\t          number_of_loyalty += 1<\/pre><\/div>\n\n\n\n<p>We have <a href=\"https:\/\/careerkarma.com\/blog\/python-variables\/\">defined a variable<\/a> called \u201cnumber_of_loyalty\u201d. We use this to keep track of how many customers are in the loyalty club.<br><\/p>\n\n\n\n<p>We calculate whether a customer is a loyalty club member by evaluating whether the value of \u201cloyalty\u201d in each dictionary is equal to True.<br><\/p>\n\n\n\n<p>Next, print a message to the console that tells us how many customers are loyalty members:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>print(&quot;Out of the {} customers at the store, {} of them are loyalty club members.&quot;.format(len(customers), len(number_of_loyalty)))<\/pre><\/div>\n\n\n\n<p>The <a href=\"https:\/\/careerkarma.com\/blog\/python-f-string\/\">.format() statement<\/a> lets us add values into our string at specific positions. In this case, we are adding in two values to our string: the number of customers evaluated, and how many customers are in the loyalty club.<br><\/p>\n\n\n\n<p>Let\u2019s run our code to see if it works:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Traceback (most recent call last):\n File &quot;main.py&quot;, line 13, in &lt;module&gt;\n\t    print(&quot;Out of the {} customers at the store, {} of them are loyalty club members.&quot;.format(len(customers), len(number_of_loyalty)))\nTypeError: object of type 'int' has no len()<\/pre><\/div>\n\n\n\n<p>Our code stops working on line 13. This is the last line of our program.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">The Solution<\/h2>\n\n\n\n<p>The error message tells us we have tried to use a method on an object that does not support that method. We&#8217;ve tried to calculate the length of an integer value.<br><\/p>\n\n\n\n<p>In our print statement, we ask our program to evaluate the length of the \u201cnumber_of_loyalty\u201d value:<\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>len(number_of_loyalty)<\/pre><\/div>\n\n\n\n<p>This is unnecessary because \u201cnumber_of_loyalty\u201d itself tracks how many loyalty club members there are. To fix this error, we can remove the <code>len()<\/code> from around the \u201cnumber_of_loyalty\u201d value so we can see the integer value it stores:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>print(&quot;Out of the {} customers at the store, {} of them are loyalty club members.&quot;.format(len(customers), number_of_loyalty))<\/pre><\/div>\n\n\n\n<p>Let\u2019s run our revised program:<br><\/p>\n\n\n\n<div class=\"wp-block-codemirror-blocks-code-block code-block\"><pre>Out of the 3 customers at the store, 2 of them are loyalty club members.<\/pre><\/div>\n\n\n\n<p>Our program calculates that two out of the three customers at the store are loyalty club members. This was the output we expected. If we look at our initial list, we can see that both \u201cLesley Jones\u201d and \u201cBenjamin Logan\u201d are loyalty card members.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Conclusion<\/h2>\n\n\n\n<p>The \u201cTypeError: object of type \u2018int\u2019 has no len()\u201d error is raised when you try to find the length of an integer value. To fix this issue, remove the len() method from around any integer value in your program.<br><\/p>\n\n\n\n<p>Now you have the knowledge you need to fix this common Python error like a pro!<\/p>\n","protected":false},"excerpt":{"rendered":"Only iterable objects such as strings and lists have a length. If you try to calculate the length of a number, you\u2019ll encounter the \u201cTypeError: object of type \u2018int\u2019 has no len()\u201d error. In this guide, we discuss what this error means and why it is raised. We\u2019ll explore an example of a code snippet&hellip;","protected":false},"author":240,"featured_media":22409,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[16578],"tags":[],"class_list":{"0":"post-22408","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 TypeError: object of type \u2018int\u2019 has no len() Solution | Career Karma<\/title>\n<meta name=\"description\" content=\"The Python TypeError: object of type \u2018int\u2019 has no len() error is raised when you try to find the length of an integer. On Career Karma, learn how to fix this error.\" \/>\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-typeerror-object-of-type-int-has-no-len\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Python TypeError: object of type \u2018int\u2019 has no len() Solution\" \/>\n<meta property=\"og:description\" content=\"The Python TypeError: object of type \u2018int\u2019 has no len() error is raised when you try to find the length of an integer. On Career Karma, learn how to fix this error.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/\" \/>\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-09-11T04:44:39+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2023-12-01T11:59:35+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/altumcode-rsQZm3wNu0I-unsplash.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"960\" \/>\n\t<meta property=\"og:image:height\" content=\"768\" \/>\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=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/\"},\"author\":{\"name\":\"James Gallagher\",\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"headline\":\"Python TypeError: object of type \u2018int\u2019 has no len() Solution\",\"datePublished\":\"2020-09-11T04:44:39+00:00\",\"dateModified\":\"2023-12-01T11:59:35+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/\"},\"wordCount\":555,\"commentCount\":0,\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/altumcode-rsQZm3wNu0I-unsplash.jpg\",\"articleSection\":[\"Python\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/\",\"url\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/\",\"name\":\"Python TypeError: object of type \u2018int\u2019 has no len() Solution | Career Karma\",\"isPartOf\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/altumcode-rsQZm3wNu0I-unsplash.jpg\",\"datePublished\":\"2020-09-11T04:44:39+00:00\",\"dateModified\":\"2023-12-01T11:59:35+00:00\",\"author\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94\"},\"description\":\"The Python TypeError: object of type \u2018int\u2019 has no len() error is raised when you try to find the length of an integer. On Career Karma, learn how to fix this error.\",\"breadcrumb\":{\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#primaryimage\",\"url\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/altumcode-rsQZm3wNu0I-unsplash.jpg\",\"contentUrl\":\"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/altumcode-rsQZm3wNu0I-unsplash.jpg\",\"width\":960,\"height\":768},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#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 TypeError: object of type \u2018int\u2019 has no len() 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 TypeError: object of type \u2018int\u2019 has no len() Solution | Career Karma","description":"The Python TypeError: object of type \u2018int\u2019 has no len() error is raised when you try to find the length of an integer. On Career Karma, learn how to fix this error.","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-typeerror-object-of-type-int-has-no-len\/","og_locale":"en_US","og_type":"article","og_title":"Python TypeError: object of type \u2018int\u2019 has no len() Solution","og_description":"The Python TypeError: object of type \u2018int\u2019 has no len() error is raised when you try to find the length of an integer. On Career Karma, learn how to fix this error.","og_url":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/","og_site_name":"Career Karma","article_publisher":"http:\/\/facebook.com\/careerkarmaapp","article_published_time":"2020-09-11T04:44:39+00:00","article_modified_time":"2023-12-01T11:59:35+00:00","og_image":[{"width":960,"height":768,"url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/altumcode-rsQZm3wNu0I-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":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#article","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/"},"author":{"name":"James Gallagher","@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"headline":"Python TypeError: object of type \u2018int\u2019 has no len() Solution","datePublished":"2020-09-11T04:44:39+00:00","dateModified":"2023-12-01T11:59:35+00:00","mainEntityOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/"},"wordCount":555,"commentCount":0,"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/altumcode-rsQZm3wNu0I-unsplash.jpg","articleSection":["Python"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/","url":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/","name":"Python TypeError: object of type \u2018int\u2019 has no len() Solution | Career Karma","isPartOf":{"@id":"https:\/\/careerkarma.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#primaryimage"},"image":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#primaryimage"},"thumbnailUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/altumcode-rsQZm3wNu0I-unsplash.jpg","datePublished":"2020-09-11T04:44:39+00:00","dateModified":"2023-12-01T11:59:35+00:00","author":{"@id":"https:\/\/careerkarma.com\/blog\/#\/schema\/person\/e79364792443fbff794a144c67ec8e94"},"description":"The Python TypeError: object of type \u2018int\u2019 has no len() error is raised when you try to find the length of an integer. On Career Karma, learn how to fix this error.","breadcrumb":{"@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#primaryimage","url":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/altumcode-rsQZm3wNu0I-unsplash.jpg","contentUrl":"https:\/\/careerkarma.com\/blog\/wp-content\/uploads\/2020\/09\/altumcode-rsQZm3wNu0I-unsplash.jpg","width":960,"height":768},{"@type":"BreadcrumbList","@id":"https:\/\/careerkarma.com\/blog\/python-typeerror-object-of-type-int-has-no-len\/#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 TypeError: object of type \u2018int\u2019 has no len() 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\/22408","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=22408"}],"version-history":[{"count":0,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/posts\/22408\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media\/22409"}],"wp:attachment":[{"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/media?parent=22408"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/categories?post=22408"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/careerkarma.com\/blog\/wp-json\/wp\/v2\/tags?post=22408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}