0
Is JSON data-storing & databases?
Is JSON data-storing? After i saw a couple of codes. They were JSON, I was wondering, If JSON was databases & Data? TY
3 Réponses
+ 4
json( JavaScript object notation )itself is a syntax for storing data,not a file,or a database.
{} is json.
you can json files which are called so because they store only json.
you can assign objects as a json.
john={ age:5,height:"6m" }
some no-sql databases like MongoDB store data as json files,hence the similarity between json and databases
+ 1
JSON can be used to store and send data, and it is pretty useful since many programs can easily read JSON. It's not a database, just a file that stores your data in object oriented style (i.e as key-value pairs).
More info here
https://www.json.org
+ 1
It's a data interchange format, means you can store data in json format in database and even you can retrieve data in json format from database
It's not a database.
The reason why json is so popular because it is easy for humans to read n write and it is easy for machine to parse and generate.