AWS Classroom – Json Basics 06/Nov/2019

Json

History

  • Prior to JSON, for configurations and transferring data
    • Plain Text => Human Readable
    • Binary => Machine Readable
    • XML => Both Machine and Human Readable

Understanding JSon

  • Json is collection of name value pairs
  • Value of <name> can be text/number/boolean/list/object
  • Text: "<name>": "<value>"
  • Number: "<name>": <value>
  • Boolean: "<name>": True/False
  • list: "<name>": ["<value1>",......,"<valuen>"]
  • object:
{
    "name1": <value1>
    ..
    ..
    "namen": <valuen>
}
  • Sample Json tried in Class
{
  'Movies': [
     {
	   'name': '',
	   'language': [],
	   'Rating': 80,
	   'certificate': 'UA'
	 },
	 
  ]
}

References

Using Json To Create IAM Policies

  • A Strict Grammar is defined by AWS. Refer Here for full specifications

Leave a Reply

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

About continuous learner

devops & cloud enthusiastic learner