What is json. And what is node.js | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 10

What is json. And what is node.js

what?

24th Aug 2018, 2:59 PM
Chaim
Chaim - avatar
8 Answers
+ 13
JSON is a format that is used between applications in order to send and retrieve data.If you want to fetch weather data from a weather API the weather API will send all the informations in JSON.Look at the example below : { "City":"New York", "temperature":100, "humidity":60 } note that values are separated with coma. If you decide to make a web app you can use node.js to handle backend(request,database updates) operations in javascript. You can alternatively use php but as far as i konw php uses mutli-threading strategy which is not efficent as node.js because it has a event driven architecture
24th Aug 2018, 4:41 PM
benyamin radmard
benyamin radmard - avatar
+ 5
JSON is basically just a file format for storing and transferring data. Much like XML. Node.js is an entire js framework for using javascript outside of the browser environment.
24th Aug 2018, 5:41 PM
Adam Wacome
Adam Wacome - avatar
+ 3
node.js is a JavaScript Framework which is used for backend purposes. JSON is short for JavaScript Object Notation , and is a way to store information in an organized, easy-to-access manner.
25th Aug 2018, 9:54 PM
Manish Kumar
Manish Kumar - avatar
+ 2
json is a file format, which uses special rule to keep it valid. same as other xml file which uses tags open and close to maintain its validation. json uses key pair value, 1. It should start with { and end with }. 2. one key can hold another set of key pair value like tree. 3. value can have array of key value also 4. file should have .josn ext. ex. : users.json { { id : 144256, age : 27, name : “solo”, address : { city : “blr”, pin : 245274 } } } Developers uses it frequently to get static data in code, insteat of hard coding in code.because it is easy to maintain and looks neat and clean.
25th Aug 2018, 11:29 AM
bit_byte
bit_byte - avatar
+ 2
JSON is a file format, writing like {“key”:”value”} Node.js is a framework for javascript. By Node.js you can use javascript outside of your browser.
25th Aug 2018, 7:47 PM
yarik_theGod
yarik_theGod - avatar
+ 1
json is essentially a key : value pair file format
25th Aug 2018, 4:50 AM
fallOut015
fallOut015 - avatar
+ 1
ok
22nd Sep 2018, 5:06 PM
Dmitriy Yakovlev
Dmitriy Yakovlev - avatar