top of page
hand-businesswoman-touching-hand-artificial-intelligence-meaning-technology-connection-go-

JAVA SCRIPT OBJECT NOTATION (JSON) HELPS IN POSTMAN

JSON, a preferred format for data exchange, offers human-readable standards for effortless data manipulation. Whether dealing with a basic dataset or intricate structures involving arrays and objects, JSON's readability and adaptability across programming languages underscore its magic.



JSON is independent of any programming language and is a common API output in a wide variety of applications.

JSON is a syntax for storing and exchanging data.

Basically, It was designed for human-readable data interchange.

It has been extended from the JavaScript scripting language.

The file extension is .json

 

JSON DATA TYPES

·       Number

·       String

·       Boolean

·       Null

·       Object

·       Array

 

We have to represent the data in the form of Key and Value pairs. Here is some examples

·       String

·       Strings JSON must be written in double quotes.

·       Example : { “ name” : “Right”}

 

·       Numbers

·       Numbers in JSON must be an integer or a floating point.

·       Example:

                  { “age” : 30 }

·       Object

·       Values in JSON can be objects.

·       Example :

                  {

        “employee “ :  { “name” : “Don”, “age”:32, “city”: “New York” }

      }

               

·       Array

·       Values in JSON can be arrays.

·       Example :

                  {

                         “employee “ : [ “Henry” : “Don”, “Peter” ] 

     }

 

·       Boolean

·       Values in JSON can be true/false.

·       Example :

                  { “ sale “ :  true }

 

·       Null

·       Values in JSON can be null.

·       Example :

                  {  “middle name “ :  null  }

 

JSON Syntax

 

§  Data should be in name / value pairs

§  Data should be separated by commas

§  Curly braces should hold objects

§  Square brackets hold arrays.

 

Capture and Validate JSON Path

               https://jsonpathfinder.com/

               https://jsonpath.com/


views comments


123 views1 comment

Recent Posts

See All

1 Comment

Rated 0 out of 5 stars.
No ratings yet

Add a rating
Rated 5 out of 5 stars.

👍

Like
bottom of page