JSON Fundamentals Tutorial with Examples

JSON Fundamentals Tutorial with Examples

Today, We want to share with you JSON Fundamentals Tutorial with Examples.
In this post we will show you An Introduction to JSON, hear for What is & Why JSON? we will give you demo and example for implement.In this post, we will learn about Introduction to JSON (JavaScript Object Notation) with an example.

Introduction: What is JSON

In this post, we will learn about Json.

Read Also:  AngularJs http post Request To PHP json

Now in this post, I will explain about what is JSON.

  • JSON stands for JavaScript Object Notation.
  • It is a lightweight data interchange format that can be used to send or recieve the data between the client browser and the web server.
  • JSON formate is “self-describing” and easy to understand.
  • It is language independent.
  • The file type for JSON files is “.json”.
  • The MIME type for JSON text is “application/json”.
jQuery 15 Powerful Tips and Tricks for Developers and Web Designer

JSON Syntax

Read Also:  PHP Multiple images upload using jQuery Ajax

JSON data is specified in name-value pairs.

<em>{“name”:”value”}</em>

<strong>For ex</strong>

//Json Object

var Employee= <em>{"name":"Jaydeep Gondaliya","gender":"M","dept":"HR","address":"Rajkot"}</em>;

var Employee= {“name”:”Jaydeep Gondaliya”,”gender”:”M”,”dept”:”HR”,”address”:”Rajkot”};

name, gender, dept, address are the properties of json object and seprated by comma(,).

In JSON, the values must be one of the data types given below.

  • null
  • a string
  • a number
  • an object (JSON object)
  • an array
  • a boolean
Introduction To jQuery

The data can be stored in JSON format, as shown below.

  • JSON Object.
  • JSONArray.
  • Nested Json Object
Read Also:  Bootstrap 4 Testimonial Slider Example

Read :

Summary

You can also read about AngularJS, ASP.NET, VueJs, PHP.

I hope you get an idea about JSON Fundamentals Tutorial with Examples.
I would like to have feedback on my Pakainfo.com blog.
Your valuable feedback, question, or comments about this article are always welcome.
If you enjoyed and liked this post, don’t forget to share.


Related FAQ

Here are some more FAQ related to this Article:

  1. Read Also:  Angular 6 Ajax HTTP POST Data with Parameters Example
  2. Read Also:  MySQL WHERE Clause with AND, OR, IN, NOT IN
  3. Read Also:  jquery ajax dropdown onchange example in php MySQL Database
  4. Read Also:  GET Facebook friends list email mobile profile url using Facebook Graph API
  5. Read Also:  ASP.NET MVC Web Configuration File web.config
  6. Read Also:  jQuery Fundamentals Tutorial with Examples
  7. Read Also:  MySQL WHERE Clause with AND, OR, IN, NOT IN
  8. Read Also:  Bootstrap 4 Testimonial Slider Example
  9. Read Also:  AngularJS Simple Change ng-view Directive
  10. Read Also:  jQuery Fundamentals Tutorial with Examples