---
title: "Uses of JavaScript JSON"  
description: "Uses of JavaScript JSON"  
author: "Anonymous User"  
published: 2021-07-20  
updated: 2021-07-20  
canonical: https://www.mindstick.com/forum/156563/uses-of-javascript-json  
category: "javascript"  
tags: ["javascript", "json"]  
reading_time: 2 minutes  

---

# Uses of JavaScript JSON

What is [JavaScript](https://www.mindstick.com/articles/874/how-to-create-watermark-text-for-textbox-by-using-javascript) [JSON](https://www.mindstick.com/forum/34446/convert-json-string-to-object)? Why it is used by most of the [companies](https://yourviews.mindstick.com/view/85554/why-must-companies-have-a-profile-page-on-mindstick) [right now](https://answers.mindstick.com/qa/36863/what-would-happen-if-gravity-became-5-percent-stronger-right-now)?

## Replies

### Reply by Anonymous User

JSON stands for JavaScript Object Notation .JSON is used in a web application software to transfer the data from one file to another file. It is text based formatted data which represent data based on a JavaScript object syntax. Let's understand it with a scenario, if you want send or receive some data from the server so, JSON will be the best way to transfer data between the servers.

JSON simplifies and fasten the server to communicate and get request as fast as possible. So, it's improve the overall user and client experience.

Let's have an example of JSON for the better understanding how to use JSON file :

```
<!DOCTYPE html>
<html>
<body>
<h2>Create Object from JSON String</h2>
<p id='demo'></p>
<script>
    let frnd = '{'friend':[' +
    '{'firstName':'Mark','lastName':'Walter' },' +
    '{'firstName':'Ashish','lastName':'Wilson' },' +
    '{'firstName':'Anush','lastName':'Aaron' }]}';
const obj = JSON.parse(frnd);
    document.getElementById('demo').innerHTML =
    obj.friend[1].firstName + ' ' + obj.friend[1].lastName;
</script>
</body>
</html>
```

Hope this clarifies your JSON logics why and how we use it.

Happy Coding!


---

Original Source: https://www.mindstick.com/forum/156563/uses-of-javascript-json

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
