{"id":955,"date":"2020-10-04T16:31:41","date_gmt":"2020-10-04T11:01:41","guid":{"rendered":"https:\/\/myfreeonlinetools.com\/blog\/?p=955"},"modified":"2020-10-28T15:29:06","modified_gmt":"2020-10-28T09:59:06","slug":"json-what-it-is-why-use-it-data-types-methods","status":"publish","type":"post","link":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/","title":{"rendered":"JSON What It is, Why Use it, Data Types &#038; Methods"},"content":{"rendered":"<h2>What is JSON?<\/h2>\n<p><span data-preserver-spaces=\"true\">JSON stands for JavaScript Object Notation is an open stand file format for sharing data. Web developers easily write and understand the JSON file data. It helps exchange data between the browser(client) and server, that time JSON data must be in text based on key-value pairs. It use the .json extension when it is standing alone.\u00a0<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-963 aligncenter\" src=\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/what-is-json.jpg\" alt=\"What is Json How to Use it, Define it\" width=\"588\" height=\"425\" srcset=\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/what-is-json.jpg 588w, https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/what-is-json-300x217.jpg 300w, https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/what-is-json-450x325.jpg 450w\" sizes=\"auto, (max-width: 588px) 100vw, 588px\" \/><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">Why user JSON?\u00a0<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">JSON using text format and its easy to understand,\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">it also sent to server and received from the server in readable format. Useful for any programming language like javascript, PHP, etc.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">1. It&#8217;s Lightweight\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">2. Easy to write\/ read<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">3. Language Independent\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">4. Integrated easily with most of the languages<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">5. Text based.\u00a0<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">JSON Data Type\u00a0<\/span><\/strong><\/h3>\n<p><span data-preserver-spaces=\"true\">1. String : JSON String written in double qutoes.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">2. Number : JSON Number be an integer and not written in double qutoes like string.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">3. Object : JSON Object are written inside of curly ({ }) braces.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">4. Array : JSON Array are written inside of square ([ ]) braces.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">5. Boolean : Ture or False<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">6. Null : empty type<\/span><\/p>\n<h3><strong><span data-preserver-spaces=\"true\">JSON Methods\u00a0<\/span><\/strong><\/h3>\n<h4><strong><span data-preserver-spaces=\"true\">JSON.parse<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">When using any Api or received data from web server, the comes alway into string. Using the JSON.parse the data translate or become into javascript object.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">var json = &#8216;{&#8220;result&#8221;:true, &#8220;counting&#8221;:50}&#8217;;<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">var obj = JSON.parse(json);<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">console.log(obj.counting);<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">\/\/ browser console output: 50<\/span><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">JSON.stringify<\/span><\/strong><\/h4>\n<p><span data-preserver-spaces=\"true\">JSON.stringify method that converts JavaScript Object or value to JSON string.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">When data sending to a web server, the data has to a string. Converting into Object to string using JSON.stringify.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">console.log(JSON.stringify({ x: 5, y: 6 }));<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">\/\/ Console output: &#8220;{&#8220;x&#8221;:5,&#8221;y&#8221;:6}&#8221;<\/span><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">JSON Example\u00a0<\/span><\/strong><\/h4>\n<pre><span data-preserver-spaces=\"true\">{<\/span>\r\n<span data-preserver-spaces=\"true\"> \u00a0\"browsers\": {<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0\u00a0\"firefox\": {<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0 \u00a0\u00a0\"name\": \"Firefox\",<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0 \u00a0\u00a0\"pref_url\": \"about:config\",<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0 \u00a0\u00a0\"releases\": {<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0 \u00a0 \u00a0\u00a0\"1\": {<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0 \u00a0 \u00a0 \u00a0\u00a0\"release_date\": \"2004-11-09\",<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0 \u00a0 \u00a0 \u00a0\u00a0\"status\": \"retired\",<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0 \u00a0 \u00a0 \u00a0\u00a0\"engine\": \"Gecko\",<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0 \u00a0 \u00a0 \u00a0\u00a0\"engine_version\": \"1.7\"<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0 \u00a0 \u00a0\u00a0}<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0 \u00a0\u00a0}<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0\u00a0}<\/span>\r\n<span data-preserver-spaces=\"true\"> \u00a0}<\/span>\r\n<span data-preserver-spaces=\"true\">}<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">JSON Online Format Tool\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">https:\/\/jsoneditoronline.org\/<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">Keys and Values\u00a0<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">Two primary parts that make JSON key and value.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Key: Alway a string, enclosed with double marks.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Value: It can be string, number, boolean expression array or object<\/span><\/p>\n<h4><strong><span data-preserver-spaces=\"true\">JSON vs XML\u00a0<\/span><\/strong><\/h4>\n<h4><span data-preserver-spaces=\"true\">JSON style:<\/span><\/h4>\n<pre><span data-preserver-spaces=\"true\">{\"students\":[<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0{\"name\":\"John\", \"age\":\"23\", \"city\":\"Agra\"},<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0{\"name\":\"Steve\", \"age\":\"28\", \"city\":\"Delhi\"},<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0{\"name\":\"Peter\", \"age\":\"32\", \"city\":\"Chennai\"},<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0{\"name\":\"Chaitanya\", \"age\":\"28\", \"city\":\"Bangalore\"}<\/span>\r\n<span data-preserver-spaces=\"true\">]}<\/span><\/pre>\n<h4><span data-preserver-spaces=\"true\">XML style:<\/span><\/h4>\n<pre><span data-preserver-spaces=\"true\">&lt;students&gt;<\/span>\r\n<span data-preserver-spaces=\"true\"> \u00a0&lt;student&gt;<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0\u00a0&lt;name&gt;John&lt;\/name&gt; &lt;age&gt;23&lt;\/age&gt; &lt;city&gt;Agra&lt;\/city&gt;<\/span>\r\n<span data-preserver-spaces=\"true\"> \u00a0&lt;\/student&gt;<\/span>\r\n<span data-preserver-spaces=\"true\"> \u00a0&lt;student&gt;<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0\u00a0&lt;name&gt;Steve&lt;\/name&gt; &lt;age&gt;28&lt;\/age&gt; &lt;city&gt;Delhi&lt;\/city&gt;<\/span>\r\n<span data-preserver-spaces=\"true\"> \u00a0&lt;\/student&gt;<\/span>\r\n<span data-preserver-spaces=\"true\"> \u00a0&lt;student&gt;<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0\u00a0&lt;name&gt;Peter&lt;\/name&gt; &lt;age&gt;32&lt;\/age&gt; &lt;city&gt;Chennai&lt;\/city&gt;<\/span>\r\n<span data-preserver-spaces=\"true\"> \u00a0&lt;\/student&gt;<\/span>\r\n<span data-preserver-spaces=\"true\"> \u00a0&lt;student&gt;<\/span>\r\n<span data-preserver-spaces=\"true\">  \u00a0\u00a0&lt;name&gt;Chaitanya&lt;\/name&gt; &lt;age&gt;28&lt;\/age&gt; &lt;city&gt;Bangalore&lt;\/city&gt;<\/span>\r\n<span data-preserver-spaces=\"true\"> \u00a0&lt;\/student&gt;<\/span>\r\n<span data-preserver-spaces=\"true\">&lt;\/students&gt;<\/span><\/pre>\n<h3>How can use JSON by Ajax?<\/h3>\n<p>If you fronted developer and you need to access any JSON data from a database API or a third-party library in your web application you can use $.ajax() method which is used in the jQuery library. Its can easily fetch and show data from a given API. Below is given the example.<\/p>\n<div class=\"container\"><\/div>\n<pre class=\"line\"><code><span class=\"keyword\">var<\/span> jqxhr = $.getJSON( <span class=\"string\">\"example.json\"<\/span>, <span class=\"keyword\">function<\/span>() {<\/code> <code>  console.log( <span class=\"string\">\"success\"<\/span> );<\/code> <code>})<\/code><code>.done(<span class=\"keyword\">function<\/span>() {<\/code> <code>console.log( <span class=\"string\">\"second success\"<\/span> );\r\n<\/code><code> })<\/code><code> .fail(<span class=\"keyword\">function<\/span>() {<\/code> <code>    console.log( <span class=\"string\">\"error\"<\/span> );<\/code> <code>  })<\/code><code>.always(<span class=\"keyword\">function<\/span>() {<\/code> <code>    console.log( <span class=\"string\">\"complete\"<\/span> );<\/code> <code>  });<\/code><\/pre>\n<p>Another method when you send or retrieve data from any JSON based API.<\/p>\n<pre class=\" language-javascript\" tabindex=\"0\"><code class=\"javascript language-javascript\">$<span class=\"token punctuation\">.<\/span><span class=\"token method function property-access\">ajax<\/span><span class=\"token punctuation\">(<\/span><span class=\"token punctuation\">{<\/span>\r\n  dataType<span class=\"token operator\">:<\/span> <span class=\"token string\">'json'<\/span><span class=\"token punctuation\">,<\/span>\r\n  url<span class=\"token operator\">:<\/span> url<span class=\"token punctuation\">,<\/span>\r\n  data<span class=\"token operator\">:<\/span> data<span class=\"token punctuation\">,<\/span>\r\n  success<span class=\"token operator\">:<\/span> success\r\n<span class=\"token punctuation\">}<\/span><span class=\"token punctuation\">)<\/span><span class=\"token punctuation\">;<\/span><\/code><\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is JSON? JSON stands for JavaScript Object Notation is an open stand file format for sharing data. Web developers easily write and understand the JSON file data. It helps [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":972,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[28,36],"tags":[],"class_list":["post-955","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-jquery-code","category-json"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.0 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>JSON What It is, Why Use it, Data Types &amp; Methods - MyFreeOnlineTools<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JSON What It is, Why Use it, Data Types &amp; Methods - MyFreeOnlineTools\" \/>\n<meta property=\"og:description\" content=\"What is JSON? JSON stands for JavaScript Object Notation is an open stand file format for sharing data. Web developers easily write and understand the JSON file data. It helps [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/\" \/>\n<meta property=\"og:site_name\" content=\"MyFreeOnlineTools\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/LearnSchoolOnline\/\" \/>\n<meta property=\"article:published_time\" content=\"2020-10-04T11:01:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-10-28T09:59:06+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/json-what-It-is-why-use-it-data-types-methods.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"400\" \/>\n\t<meta property=\"og:image:height\" content=\"225\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"myfreeonlinetools\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"myfreeonlinetools\" \/>\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:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/\"},\"author\":{\"name\":\"myfreeonlinetools\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c\"},\"headline\":\"JSON What It is, Why Use it, Data Types &#038; Methods\",\"datePublished\":\"2020-10-04T11:01:41+00:00\",\"dateModified\":\"2020-10-28T09:59:06+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/\"},\"wordCount\":384,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/json-what-It-is-why-use-it-data-types-methods.jpg\",\"articleSection\":[\"jQuery Code\",\"JSON\"],\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/\",\"name\":\"JSON What It is, Why Use it, Data Types & Methods - MyFreeOnlineTools\",\"isPartOf\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/json-what-It-is-why-use-it-data-types-methods.jpg\",\"datePublished\":\"2020-10-04T11:01:41+00:00\",\"dateModified\":\"2020-10-28T09:59:06+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#breadcrumb\"},\"inLanguage\":\"en\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#primaryimage\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/json-what-It-is-why-use-it-data-types-methods.jpg\",\"contentUrl\":\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/json-what-It-is-why-use-it-data-types-methods.jpg\",\"width\":400,\"height\":225,\"caption\":\"JSON What It is, Why Use it, Data Types & Methods\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/myfreeonlinetools.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"JSON What It is, Why Use it, Data Types &#038; Methods\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#website\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/\",\"name\":\"MyFreeOnlineTools\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/myfreeonlinetools.com\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#organization\",\"name\":\"MyFreeOnlineTools\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png\",\"contentUrl\":\"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png\",\"width\":387,\"height\":79,\"caption\":\"MyFreeOnlineTools\"},\"image\":{\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c\",\"name\":\"myfreeonlinetools\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en\",\"@id\":\"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g\",\"caption\":\"myfreeonlinetools\"},\"description\":\"Live in Delhi, Working in Gurgaon as Web Designer and Graphic Designer. Developed and Design myfreeonlinetools for online free tools. Also having youtube channel Name with LearnSchoolOnline. Traveling, watching movies, coding are the hobbies.\",\"sameAs\":[\"https:\/\/myfreeonlinetools.com\/\",\"https:\/\/www.facebook.com\/LearnSchoolOnline\/\",\"https:\/\/www.youtube.com\/learnschoolonline\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JSON What It is, Why Use it, Data Types & Methods - MyFreeOnlineTools","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:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/","og_locale":"en_US","og_type":"article","og_title":"JSON What It is, Why Use it, Data Types & Methods - MyFreeOnlineTools","og_description":"What is JSON? JSON stands for JavaScript Object Notation is an open stand file format for sharing data. Web developers easily write and understand the JSON file data. It helps [&hellip;]","og_url":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/","og_site_name":"MyFreeOnlineTools","article_author":"https:\/\/www.facebook.com\/LearnSchoolOnline\/","article_published_time":"2020-10-04T11:01:41+00:00","article_modified_time":"2020-10-28T09:59:06+00:00","og_image":[{"width":400,"height":225,"url":"http:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/json-what-It-is-why-use-it-data-types-methods.jpg","type":"image\/jpeg"}],"author":"myfreeonlinetools","twitter_card":"summary_large_image","twitter_misc":{"Written by":"myfreeonlinetools","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#article","isPartOf":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/"},"author":{"name":"myfreeonlinetools","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c"},"headline":"JSON What It is, Why Use it, Data Types &#038; Methods","datePublished":"2020-10-04T11:01:41+00:00","dateModified":"2020-10-28T09:59:06+00:00","mainEntityOfPage":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/"},"wordCount":384,"commentCount":0,"publisher":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#organization"},"image":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#primaryimage"},"thumbnailUrl":"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/json-what-It-is-why-use-it-data-types-methods.jpg","articleSection":["jQuery Code","JSON"],"inLanguage":"en","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/","url":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/","name":"JSON What It is, Why Use it, Data Types & Methods - MyFreeOnlineTools","isPartOf":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#primaryimage"},"image":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#primaryimage"},"thumbnailUrl":"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/json-what-It-is-why-use-it-data-types-methods.jpg","datePublished":"2020-10-04T11:01:41+00:00","dateModified":"2020-10-28T09:59:06+00:00","breadcrumb":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#breadcrumb"},"inLanguage":"en","potentialAction":[{"@type":"ReadAction","target":["https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/"]}]},{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#primaryimage","url":"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/json-what-It-is-why-use-it-data-types-methods.jpg","contentUrl":"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2020\/10\/json-what-It-is-why-use-it-data-types-methods.jpg","width":400,"height":225,"caption":"JSON What It is, Why Use it, Data Types & Methods"},{"@type":"BreadcrumbList","@id":"https:\/\/myfreeonlinetools.com\/blog\/json-what-it-is-why-use-it-data-types-methods\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/myfreeonlinetools.com\/blog\/"},{"@type":"ListItem","position":2,"name":"JSON What It is, Why Use it, Data Types &#038; Methods"}]},{"@type":"WebSite","@id":"https:\/\/myfreeonlinetools.com\/blog\/#website","url":"https:\/\/myfreeonlinetools.com\/blog\/","name":"MyFreeOnlineTools","description":"","publisher":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/myfreeonlinetools.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en"},{"@type":"Organization","@id":"https:\/\/myfreeonlinetools.com\/blog\/#organization","name":"MyFreeOnlineTools","url":"https:\/\/myfreeonlinetools.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png","contentUrl":"https:\/\/myfreeonlinetools.com\/blog\/wp-content\/uploads\/2019\/11\/myfreeonlinetools-blue.png","width":387,"height":79,"caption":"MyFreeOnlineTools"},"image":{"@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/b1eb72e57c554e3b33cfeec477efcc3c","name":"myfreeonlinetools","image":{"@type":"ImageObject","inLanguage":"en","@id":"https:\/\/myfreeonlinetools.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b870b17c6c7e3b75d7fe0b8bebfc9cf5?s=96&d=mm&r=g","caption":"myfreeonlinetools"},"description":"Live in Delhi, Working in Gurgaon as Web Designer and Graphic Designer. Developed and Design myfreeonlinetools for online free tools. Also having youtube channel Name with LearnSchoolOnline. Traveling, watching movies, coding are the hobbies.","sameAs":["https:\/\/myfreeonlinetools.com\/","https:\/\/www.facebook.com\/LearnSchoolOnline\/","https:\/\/www.youtube.com\/learnschoolonline"]}]}},"_links":{"self":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/955","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/comments?post=955"}],"version-history":[{"count":0,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/posts\/955\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/media\/972"}],"wp:attachment":[{"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/media?parent=955"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/categories?post=955"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/myfreeonlinetools.com\/blog\/wp-json\/wp\/v2\/tags?post=955"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}