{"id":984,"date":"2025-12-22T08:36:50","date_gmt":"2025-12-22T07:36:50","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=984"},"modified":"2026-06-09T10:40:00","modified_gmt":"2026-06-09T08:40:00","slug":"what-is-json","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/en\/knowledgebase\/what-is-json\/","title":{"rendered":"What Is JSON?"},"content":{"rendered":"\n<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">JSON (JavaScript Object Notation) is a lightweight text-based format used to store and exchange data between applications, services, and systems.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">It is one of the most commonly used data formats in web development because it is easy for humans to read and easy for computers to process.<\/p>\n\n\n\n<\/div>\n\n<div id=\"mybox-701641660\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Early access<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Still need help?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contact our customer service team.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Message us<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">JSON is widely used in APIs, web applications, mobile applications, configuration files, and cloud services.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/what-is-json\/#How_JSON_Works\" >How JSON Works<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/what-is-json\/#Why_JSON_Is_Used\" >Why JSON Is Used<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/what-is-json\/#JSON_vs_XML\" >JSON vs. XML<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/what-is-json\/#Common_JSON_Data_Types\" >Common JSON Data Types<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/what-is-json\/#Practical_Implications\" >Practical Implications<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/mybox.com\/help\/en\/knowledgebase\/what-is-json\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_JSON_Works\"><\/span>How JSON Works<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">JSON stores information as structured data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The most common structure consists of <strong>key-value pairs<\/strong>, where each key describes a piece of information and each value contains the associated data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"firstName\": \"John\",\n  \"lastName\": \"Smith\",\n  \"age\": 30,\n  \"city\": \"Bucharest\"\n}\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">In this example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>firstName<\/code>, <code>lastName<\/code>, <code>age<\/code>, and <code>city<\/code> are keys.<\/li>\n\n\n\n<li>The associated values contain the actual data.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">JSON can also contain arrays, nested objects, numbers, text, boolean values (<code>true<\/code> or <code>false<\/code>), and <code>null<\/code> values.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_JSON_Is_Used\"><\/span>Why JSON Is Used<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">JSON became popular because it provides a simple and standardized way for different systems to exchange information.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Common uses include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Communication between websites and servers<\/li>\n\n\n\n<li>REST APIs<\/li>\n\n\n\n<li>Mobile applications<\/li>\n\n\n\n<li>Configuration files<\/li>\n\n\n\n<li>Data storage and transfer<\/li>\n\n\n\n<li>Cloud services<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Most modern programming languages include built-in support for reading and generating JSON data.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"JSON_vs_XML\"><\/span>JSON vs. XML<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>JSON \u2260 XML<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Both JSON and XML are used to exchange structured data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, JSON typically uses a simpler syntax and is often easier to read and process in modern web applications.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Feature<\/th><th>JSON<\/th><th>XML<\/th><\/tr><\/thead><tbody><tr><td>Human Readable<\/td><td>Yes<\/td><td>Yes<\/td><\/tr><tr><td>Text-Based<\/td><td>Yes<\/td><td>Yes<\/td><\/tr><tr><td>Uses Key-Value Pairs<\/td><td>Yes<\/td><td>No<\/td><\/tr><tr><td>Uses Tags<\/td><td>No<\/td><td>Yes<\/td><\/tr><tr><td>Common in Modern APIs<\/td><td>Yes<\/td><td>Less Common<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Common_JSON_Data_Types\"><\/span>Common JSON Data Types<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">JSON supports several types of values:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th>Data Type<\/th><th>Example<\/th><\/tr><\/thead><tbody><tr><td>String<\/td><td><code>\"example\"<\/code><\/td><\/tr><tr><td>Number<\/td><td><code>42<\/code><\/td><\/tr><tr><td>Boolean<\/td><td><code>true<\/code><\/td><\/tr><tr><td>Null<\/td><td><code>null<\/code><\/td><\/tr><tr><td>Array<\/td><td><code>[\"a\", \"b\", \"c\"]<\/code><\/td><\/tr><tr><td>Object<\/td><td><code>{ \"name\": \"John\" }<\/code><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">These building blocks allow JSON to represent both simple and complex data structures.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Practical_Implications\"><\/span>Practical Implications<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">JSON operates behind the scenes in many services used every day.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">For example, when a website retrieves user information, product details, weather data, or account settings from a server, the information is often transferred in JSON format.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you work with APIs, web development, mobile applications, or modern software integrations, you will frequently encounter JSON.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">JSON (JavaScript Object Notation) is a lightweight format used to store and exchange structured data. Its simplicity, readability, and broad support across programming languages have made it one of the most widely used data formats in modern software development and web applications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[42],"manual_kb_tag":[875,876,877,878,879,880,881,882,883,884],"class_list":["post-984","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-miscellaneous","manual_kb_tag-json","manual_kb_tag-javascript-object-notation","manual_kb_tag-json-syntax","manual_kb_tag-json-parsing","manual_kb_tag-json-examples","manual_kb_tag-data-format","manual_kb_tag-data-exchange","manual_kb_tag-data-serialization","manual_kb_tag-data-storage","manual_kb_tag-web-applications"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/984","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":3,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/984\/revisions"}],"predecessor-version":[{"id":5950,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb\/984\/revisions\/5950"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/media?parent=984"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manualknowledgebasecat?post=984"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/en\/wp-json\/wp\/v2\/manual_kb_tag?post=984"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}