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

+1 (302) 200-8320

NumPy_Ninja_Logo (1).png

Numpy Ninja Inc. 8 The Grn Ste A Dover, DE 19901

© Copyright 2022 by NumPy Ninja

  • Twitter
  • LinkedIn
bottom of page