{"id":112080,"date":"2021-11-27T15:15:00","date_gmt":"2021-11-27T13:15:00","guid":{"rendered":"https:\/\/www.javacodegeeks.com\/?p=112080"},"modified":"2021-11-17T15:48:05","modified_gmt":"2021-11-17T13:48:05","slug":"javascript-convert-character-to-ascii-and-vice-versa","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html","title":{"rendered":"JavaScript Convert Character to ASCII and Vice Versa"},"content":{"rendered":"<p>A quick guide to convert a character into ASCII code in javascript and vice versa.<\/p>\n<h2 class=\"wp-block-heading\">1. Overview<\/h2>\n<p>In this tutorial, We&#8217;ll learn <b>how to convert a character into ASCII code in javascript and vice versa<\/b>.<\/p>\n<p>For character A, its ASCII code is 65<\/p>\n<p>B = 66<\/p>\n<p>a = 97<\/p>\n<p>b = 98<\/p>\n<p>0 = 48<\/p>\n<p>For each character, there will be a unique ASCII code.<\/p>\n<p>There are two ways to <b>convert character to ASCII code<\/b> in javascript using the below methods.<\/p>\n<p><b>String.charCodeAt()<\/b><\/p>\n<p><b>String.codePointAt()<\/b><\/p>\n<p>To convert from Code Point <b>ASCII code to character<\/b> in javascript, use the below methods.<\/p>\n<p><b>String.fromCharCode()<\/b><\/p>\n<p><b>String.fromCodePoint()<\/b><\/p>\n<h2 class=\"wp-block-heading\">2.&nbsp;JavaScript Character to ASCII Using String.charCodeAt() Function<\/h2>\n<p><b>charCodeAt()<\/b> method takes the index of the character and returns UTF-16 code for the given index.<\/p>\n<p>The first 128 Unicode points from 0 to 127 are used to match the ASCII character set.<\/p>\n<p>Look at the below program.<\/p>\n<pre class=\"wp-block-preformatted brush:java\">var chracter = 'B';\nvar index = 0;\n \nvar asciiCode = chracter.charCodeAt(index);\nconsole.log(asciiCode);<\/pre>\n<p><b>Output:<\/b><\/p>\n<pre class=\"wp-block-preformatted brush:java\">66<\/pre>\n<p>ASCII code for character B is 66. The same has been produced in the output console.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<h2 class=\"wp-block-heading\">3.&nbsp;JavaScript Character to ASCII Using String.&nbsp;codePointAt() Function<\/h2>\n<p>When the String characters are having special characters such as codepoints then the charCodeAt() method does not work. In this case, you need to use the <b>codePointAt()<\/b> method.<\/p>\n<p><b>codePointAt()<\/b> method returns the integer value in between 0 and 65535.<\/p>\n<p>Look at the below example script using codePointAt() function.<\/p>\n<pre class=\"wp-block-preformatted brush:java\">const sentence = 'hello welcome to the javascript char to ascii post';\n\nconst index = 7;\n\nconsole.log(`The character code ${sentence.charCodeAt(index)} is equal to ${sentence.charAt(index)}`);\n\nconsole.log('ABC'.charCodeAt(0));<\/pre>\n<p><b>Output:<\/b><\/p>\n<pre class=\"wp-block-preformatted brush:java\">\"The character code 101 is equal to e\"\n65<\/pre>\n<h2 class=\"wp-block-heading\">4.&nbsp;JavaScript ASCII to Character Using String fromCharCode()<\/h2>\n<p>If you want to get the character from the ASCII codes, use the String.fromCharCode() method from the String object.<\/p>\n<pre class=\"wp-block-preformatted brush:java\">console.log(String.fromCharCode(65, 66)); \nconsole.log(String.fromCharCode(67, 68)); \nconsole.log(String.fromCharCode(69, 70));<\/pre>\n<p>Any no of arguments can be passed to<br \/><b>fromCharCode()<\/b> method and all characters are returned as String object by concatenating all characters of the given ASCII codes.<\/p>\n<p>Output:<\/p>\n<p>Look at the output how the fromCharCode() method has generated the output.<\/p>\n<pre class=\"wp-block-preformatted brush:java\">AB\nCD\nEF<\/pre>\n<h2 class=\"wp-block-heading\">5. JavaScript&nbsp;codepoints to a character using String.fromCodePoint()<\/h2>\n<p><b>String.fromCodePoint()<\/b> is used to get the <b>string from the given set of code points sequence<\/b>.<\/p>\n<p>This method also takes any no of arguments. Look at the below example with different arguments.<\/p>\n<pre class=\"wp-block-preformatted brush:java\">console.log(String.fromCodePoint(9731));\nconsole.log(String.fromCodePoint(9731, 9733));\nconsole.log(String.fromCodePoint(9735, 9737));\nconsole.log(String.fromCodePoint(9731, 9733, 9842));\nconsole.log(String.fromCodePoint(9731, 9733, 9842, 0x2F804));<\/pre>\n<p><b>Output:<\/b><\/p>\n<pre class=\"wp-block-preformatted brush:java\">\"\u2603\"\n\"\u2603\u2605\"\n\"\u2607\u2609\"\n\"\u2603\u2605\u2672\"\n\"\u2603\u2605\u2672\ud87e\udc04\"<\/pre>\n<h2 class=\"wp-block-heading\">6. Conclusion<\/h2>\n<p>In this article, we&#8217;ve seen how to convert the character to ascii code in java script and vice versa with examples.<\/p>\n<p><b><a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/JavaScript\/Reference\/Global_Objects\/String\">String API<\/a><\/b><\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td>\n<p>Published on Java Code Geeks with permission by Venkatesh Nukala, partner at our <a href=\"\/\/www.javacodegeeks.com\/join-us\/jcg\/\" target=\"_blank\" rel=\"noopener\">JCG program<\/a>. See the original article here: <a href=\"https:\/\/www.javaprogramto.com\/2021\/11\/javascript-character-to-ascii.html\" target=\"_blank\" rel=\"noopener\">JavaScript Convert Character to ASCII and Vice Versa<\/a><\/p>\n<p>Opinions expressed by Java Code Geeks contributors are their own.<\/p>\n<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>A quick guide to convert a character into ASCII code in javascript and vice versa. 1. Overview In this tutorial, We&#8217;ll learn how to convert a character into ASCII code in javascript and vice versa. For character A, its ASCII code is 65 B = 66 a = 97 b = 98 0 = 48 &hellip;<\/p>\n","protected":false},"author":115893,"featured_media":20900,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1879],"tags":[],"class_list":["post-112080","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-javascript"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JavaScript Convert Character to ASCII and Vice Versa - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Interested to learn about Convert Character to ASCII? Check our article presenting a quick guide to convert a character into ASCII code.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Convert Character to ASCII and Vice Versa - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Interested to learn about Convert Character to ASCII? Check our article presenting a quick guide to convert a character into ASCII code.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2021-11-27T13:15:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2014\/01\/javascript-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Venkatesh Nukala\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Venkatesh Nukala\" \/>\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:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html\"},\"author\":{\"name\":\"Venkatesh Nukala\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/cc67900f026b80b2304b256c9f84874e\"},\"headline\":\"JavaScript Convert Character to ASCII and Vice Versa\",\"datePublished\":\"2021-11-27T13:15:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html\"},\"wordCount\":392,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2014\\\/01\\\/javascript-logo.jpg\",\"articleSection\":[\"JavaScript\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html\",\"name\":\"JavaScript Convert Character to ASCII and Vice Versa - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2014\\\/01\\\/javascript-logo.jpg\",\"datePublished\":\"2021-11-27T13:15:00+00:00\",\"description\":\"Interested to learn about Convert Character to ASCII? Check our article presenting a quick guide to convert a character into ASCII code.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2014\\\/01\\\/javascript-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2014\\\/01\\\/javascript-logo.jpg\",\"width\":150,\"height\":150},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/11\\\/javascript-convert-character-to-ascii-and-vice-versa.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Web Development\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/web-development\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/web-development\\\/javascript\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"JavaScript Convert Character to ASCII and Vice Versa\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/cc67900f026b80b2304b256c9f84874e\",\"name\":\"Venkatesh Nukala\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cc5229bdb03022e4cab431d5048190c8104092f2d676c1c478f1c526a310c3f9?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cc5229bdb03022e4cab431d5048190c8104092f2d676c1c478f1c526a310c3f9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/cc5229bdb03022e4cab431d5048190c8104092f2d676c1c478f1c526a310c3f9?s=96&d=mm&r=g\",\"caption\":\"Venkatesh Nukala\"},\"description\":\"Venkatesh Nukala is a Software Engineer working for Online Payments Industry Leading company. In my free time, I would love to spend time with family and write articles on technical blogs. More on JavaProgramTo.com\",\"sameAs\":[\"https:\\\/\\\/www.javaprogramto.com\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/venkatesh-nukala-981094127\\\/\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/venkatesh-nukala\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript Convert Character to ASCII and Vice Versa - Java Code Geeks","description":"Interested to learn about Convert Character to ASCII? Check our article presenting a quick guide to convert a character into ASCII code.","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:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html","og_locale":"en_US","og_type":"article","og_title":"JavaScript Convert Character to ASCII and Vice Versa - Java Code Geeks","og_description":"Interested to learn about Convert Character to ASCII? Check our article presenting a quick guide to convert a character into ASCII code.","og_url":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2021-11-27T13:15:00+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2014\/01\/javascript-logo.jpg","type":"image\/jpeg"}],"author":"Venkatesh Nukala","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Venkatesh Nukala","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html"},"author":{"name":"Venkatesh Nukala","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/cc67900f026b80b2304b256c9f84874e"},"headline":"JavaScript Convert Character to ASCII and Vice Versa","datePublished":"2021-11-27T13:15:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html"},"wordCount":392,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2014\/01\/javascript-logo.jpg","articleSection":["JavaScript"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html","url":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html","name":"JavaScript Convert Character to ASCII and Vice Versa - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2014\/01\/javascript-logo.jpg","datePublished":"2021-11-27T13:15:00+00:00","description":"Interested to learn about Convert Character to ASCII? Check our article presenting a quick guide to convert a character into ASCII code.","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2014\/01\/javascript-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2014\/01\/javascript-logo.jpg","width":150,"height":150},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2021\/11\/javascript-convert-character-to-ascii-and-vice-versa.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Web Development","item":"https:\/\/www.javacodegeeks.com\/category\/web-development"},{"@type":"ListItem","position":3,"name":"JavaScript","item":"https:\/\/www.javacodegeeks.com\/category\/web-development\/javascript"},{"@type":"ListItem","position":4,"name":"JavaScript Convert Character to ASCII and Vice Versa"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/cc67900f026b80b2304b256c9f84874e","name":"Venkatesh Nukala","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/cc5229bdb03022e4cab431d5048190c8104092f2d676c1c478f1c526a310c3f9?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/cc5229bdb03022e4cab431d5048190c8104092f2d676c1c478f1c526a310c3f9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/cc5229bdb03022e4cab431d5048190c8104092f2d676c1c478f1c526a310c3f9?s=96&d=mm&r=g","caption":"Venkatesh Nukala"},"description":"Venkatesh Nukala is a Software Engineer working for Online Payments Industry Leading company. In my free time, I would love to spend time with family and write articles on technical blogs. More on JavaProgramTo.com","sameAs":["https:\/\/www.javaprogramto.com\/","https:\/\/www.linkedin.com\/in\/venkatesh-nukala-981094127\/"],"url":"https:\/\/www.javacodegeeks.com\/author\/venkatesh-nukala"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/112080","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/115893"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=112080"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/112080\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/20900"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=112080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=112080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=112080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}