MultiCloud Classroom notes 03/July/2026

JSON : Javascrpit object Notation

  • package.json
  • var.json
  • terraform.output
  • aws
  • azure
  • api/apigateway

Key points:

  • .json extension
  • human readable
  • no commits will works (// or # comment)
  • trailing commas (no comma for last key)
  • Data types (string, number…etc )

Build json & Data TYpes:

  • String

    • Ex: “DevOps”, “multi-cloud”
    • string should have double quotes (“”)
  • Number: 1

    • no nquotes for the value
  • Boolean:

    • true
    • false
    • no quotes & small letters
  • Null (no values)

    • null
    • no quotes & small letters
  • object { “key”: data-type }

    • key (must be double quotes “”)
    • value (data type like string, number, array …etc)
  • Array: list of strings or numbers

    • [ ]
    • [ 1, 2, 3, 4]

rules for Json

  • key must be double quotes
  • value must be data type
  • pairs having commans for next key
  • array must have [ ]
  • multiple object in array [ { objects }, {object2} ]

sample1:


{
    "name": "ram",
    "loction": "HYD",
    "tools": [
        {
            "devops": [
                "ansible",
                "terraform",
                "CICD"
            ]
        },
        {
            "multi-cloud": [
                {
                    "aws": [
                        "compute",
                        "IAM",
                        "Operations",
                        "storages"
                    ]
                },
                {
                    "azure": [
                        "compute",
                        "IAM",
                        "Operations",
                        "storages"
                    ]
                }
            ]
        }
    ]
}

sample2

{  

    "_comment": "this is sample json",
    "colleges": [

        {   
            "location": "HYD",
            "area": "jntu",
            "college_name": "jntuh",
            "groups": [
                "IT",
                "ECE",
                "MECH",
                "Civil"
            ],
            "students_count": 5000,
            "pincode": 500032
        },
        {
            "location": "HYD",
            "area": "SRM",
            "college_name": "SRM",
            "groups": [
                {
                    "IT": ["cse", "IT", "AI"]
                }
            ],
            "students_count": 500,
            "pincode": 500029
        },
         {
            "location": "RJY",
            "area": "RJY",
            "college_name": "GIET",
            "groups": [
                "IT",
                "ECE",
                "MECH",
                "Civil"
            ],
            "students_count": 50000,
            "pincode": 533201
        }


    ] 
}

Refer Json query

Leave a ReplyCancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Please turn AdBlock off
Animated Social Media Icons by Acurax Wordpress Development Company

Discover more from Direct DevOps from Quality Thought

Subscribe now to keep reading and get access to the full archive.

Continue reading

Exit mobile version
%%footer%%