text-based open standard designed for human-readable data interchange
whitespace
object
combox respuesta json
JSON (JavaScript Object Notation, pronounced /ˈdʒeɪsən/ or /ˈdʒeɪˌsɒn/) is an open standard file format and data interchange format that uses human-readable text to store and transmit data objects consisting of name–value pairs … Wikipedia
Factsheet
JavaScript Object Notation
Filename extension .json
Internet media type application/json
Factsheet
JavaScript Object Notation
Filename extension .json
Internet media type application/json
🌐
Wikipedia
en.wikipedia.org › wiki › JSON
JSON - Wikipedia
March 6, 2005 - JSON was based on a subset of the JavaScript scripting language (specifically, Standard ECMA-262 3rd Edition—December 1999) and is commonly used with JavaScript, but it is a language-independent data format. Code for parsing and generating JSON data is readily available in many programming ...
🌐
Reddit
reddit.com › r/learnjavascript › can someone please explain json to me?
r/learnjavascript on Reddit: Can someone please explain JSON to me?
November 24, 2023 -

I've never worked with any DB or back-end, etc stuff, but I am in need of some sort of data storage. I'm working on a javascript application that will only be run on my pc, offline, and I need to be able to save information. I don't want to rely on localStorage because if the browser history is wiped then all the data goes with it.

While searching for a way to collect and store info, I read about JSON, and it sounded like what I was looking for--and yet I've spent the last 4 hours watching tutorials and so far all I know about it is it's fching JS. I sat through a 12 minute video where all the guy did was write out an object in json and then copy and paste into a js file and said "now you know how to use json in all your future projects" 🙄 like what in ACTUAL fk. You could have just WROTE that in js. What's the point of JSON? Everything I've seen or read is practically just the same as this video.

DOES json collect and store data?

Like, if I put an input form in my app, and type a name and hit submit, can I make that Input hardcode into the json file to be saved forevermore and called upon when I needed in this app? Because that's what I need. Any explanation or help on this would be GREATLY appreciated.

🌐
W3Schools
w3schools.com › whatis › whatis_json.asp
What is JSON
The JSON syntax is derived from JavaScript object notation syntax, but the JSON format is text only. Code for reading and generating JSON data can be written in any programming language.
🌐
W3Schools
w3schools.com › js › js_json.asp
JavaScript JSON
The JSON format is syntactically identical to the code for creating JavaScript objects.
🌐
JSON
json.org
JSON
JSON is a text format that is completely language independent but uses conventions that are familiar to programmers of the C-family of languages, including C, C++, C#, Java, JavaScript, Perl, Python, and many others.
🌐
MDN Web Docs
developer.mozilla.org › en-US › docs › Learn_web_development › Core › Scripting › JSON
Working with JSON - Learn web development | MDN
JavaScript Object Notation (JSON) is a standard text-based format for representing structured data based on JavaScript object syntax. It is commonly used for transmitting data in web applications (e.g., sending some data from the server to the client, so it can be displayed on a web page, or ...
🌐
Squarespace
developers.squarespace.com › what-is-json
What is JSON? — Squarespace Developers
JSON, or JavaScript Object Notation, is a minimal, readable format for structuring data. It is used primarily to transmit data between a server and web application, as an alternative to XML.
Find elsewhere
🌐
JSONLint
jsonlint.com
JSONLint - The JSON Validator
Programming can be challenging, as it requires enormous attention and excellent knowledge of the programming language, even as simple as JSON. Still, writing code is tricky, and finding an error in JSON code can be a challenging and time-consuming task.
🌐
Oracle
oracle.com › ai database
What is JSON?
April 4, 2024 - JSON is neither a file nor a code. Instead, it’s a simple format used to store and transport data. It is a plain-text format, which allows for easy data interchange between different programming languages.
🌐
Codecademy
codecademy.com › article › what-is-json
What Is JSON? | Codecademy
Fortunately for us, there exists such a data-exchange format. JSON, or JavaScript Object Notation, is a popular, language-independent, standard format for storing and exchanging data.
🌐
MongoDB
mongodb.com › resources › languages › what-is-json
What Is JSON? | A Beginner’s Guide | MongoDB
Otherwise, they are equivalent. It’s also easy to convert JS objects to JSON using the stringify() method and vice versa using the parse() method. JS is the abbreviation for JavaScript and not JSON.
🌐
Spiceworks
spiceworks.com › spiceworks inc › soft-tech › json types, functions, and uses with examples - spiceworks inc
JSON Types, Functions, and Uses with Examples
December 16, 2025 - Working, Uses, Pipelines, and Features · JSON format has a syntax nearly identical to the code for JavaScript objects. This similarity makes it very easy for programs written in JavaScript to be converted to a JSON data format.
🌐
TheServerSide
theserverside.com › definition › JSON-Javascript-Object-Notation
What is JSON? - Definition from TechTarget.com
This basic template structure in an infrastructure-as-code tool is a good example of JSON code.
🌐
Reddit
reddit.com › r/learnprogramming › what is json and what does it have to do with javascript?
r/learnprogramming on Reddit: What is JSON and what does it have to do with Javascript?
March 31, 2022 -

Hi! I'm looking to dive back into Javascript after a 10+ year hiatus (learned some during college) in order to build out a basic piece of software using a WebSocket for a lighting control system. I notice that most of it can be done with Javascript, but every now and then there are JSON calls. Looking at JSON's wiki page, I notice it's an acronym "JavaScript Object Notation" so obviously has lots to do with Javascript, but apparently it's also " a language-independent data format." (whatever that means).

Any indications if I'll need to be proficient with JSON to work with the WebSocket? If so, any recommendations for resources to get started? Thank you!

Top answer
1 of 5
4
I notice it's an acronym "JavaScript Object Notation" so obviously has lots to do with Javascript, but apparently it's also " a language-independent data format." (whatever that means). It means that the syntax of JSON is based on the way you construct objects in JavaScript, but it exists independently from JS. It's a data exchange format. Similar to XML. It's just a way to use text to structure data. JSON isn't a language that really requires proficiency. For one thing, it's not a programming language; it doesn't convey logic. It's just data. And it's quite simple. There are only four data types in JSON: string, number, array, and object. Whether or not you have to be proficient with it to use WebSockets? Technically they aren't directly related. But JSON is an extremely common format to pass data over WebSockets (as well as HTTP endpoints as well).
2 of 5
3
JSON came from JavaScript but it has nothing to do with JavaScript anymore. Have you ever used XML before? JSON is basically used for most of the same sorts of things that XML was used for. JSON is basically a handy standard format to use when sending structured data from one program to another, or when saving data to a file, or something like that. That's it. By using JSON instead of making up your own format, you make it easy for anyone to parse. JSON specifies the syntax, but not the semantics. You can decide whatever data you want to put in it. Let's say you wanted to save a list of names to a file. Using JSON, you could do it like this: ["Candace", "Maya", "Ken", "Tobias"] It looks just like you're defining an array in JavaScript, and that's the idea. Let's say you needed names and ages. You could do it like this: [ { "name": "Candace", "age": 44 }, { "name": "Maya", "age": 19 }, { "name": "Ken", "age": 35 }, { "name": "Tobias", "age": 27 } ] Should you learn JSON? Yes, but it's really not that complicated. You could read the documentation in an hour and get the hang of reading and writing JSON in your favorite language in less than a day. Sure, there's more complexity to it sometimes. If you're working with really large amounts of data, people have created all sorts of tools for manipulating large JSON files, or doing queries or transformations. If you ever have a need for those, you can learn them.
🌐
TutorialsPoint
tutorialspoint.com › json › json_quick_guide.htm
JSON - Quick Guide
JSON or JavaScript Object Notation is a lightweight text-based open standard designed for human-readable data interchange. Conventions used by JSON are known to programmers, which include C, C++, Java, Python, Perl, etc.
🌐
Code Institute
codeinstitute.net › blog › coding › what is json? a guide
What is JSON? Definitions & Examples - Code Institute Global
October 20, 2022 - JSON (JavaScript Object Notation) is a data format designed to be easily readable by people and computers. This guide tells you more.
🌐
Stack Overflow
stackoverflow.blog › 2022 › 06 › 02 › a-beginners-guide-to-json-the-data-format-for-the-internet
A beginner's guide to JSON, the data format for the internet - Stack Overflow
The basic structure is built from one or more keys and values: ... You’ll often see a collection of key:value pairs enclosed in brackets described as a JSON object. While the key is any string, the value can be a string, number, array, additional object, or the literals, false, true and null.
🌐
Amazon Web Services
aws.amazon.com › databases › amazon documentdb › what is json
What is JSON? - JSON Explained - AWS
November 3, 2021 - JavaScript Object Notation, more commonly known by the acronym JSON, is an open data interchange format that is both human and machine-readable.
🌐
freeCodeCamp
freecodecamp.org › news › what-is-json-a-json-file-example
JSON for Beginners – JavaScript Object Notation Explained in Plain English
4 days ago - It is a collection of key-value pairs where the key must be a string type, and the value can be of any of the following types: ... In the JSON data format, the keys must be enclosed in double quotes.
🌐
W3Schools
w3schools.com › js › js_json_syntax.asp
JSON Syntax
The JSON format is almost identical to JavaScript objects.