Articles → AWS → Introduction To YAML

Introduction To YAML






Purpose





Data Format




name: John
age: 30



Multiline






literal_example: |  
    This is a multiline  
    string written in  
    YAML using the  
    literal style.




folded_example: >  
    This is a multiline string  
    written in YAML using the  
    folded style. Blank lines  
    are preserved.



Arrays






products:  
      - Laptop  
      - Smartphone  
      - Tablet  
      - Monitor




products: [Laptop, Smartphone, Tablet, Monitor]



Comments




name: John Doe  # This is the user's full name
age: 30         # Age in years



Posted By  -  Karan Gupta
 
Posted On  -  Sunday, November 24, 2024

Query/Feedback


Your Email Id
 
Subject
 
Query/FeedbackCharacters remaining 250