[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-759563-105":3,"detail-sidebar-cat-0-en-105":79,"doc-detail-759563-en":129,"doc-similar-759563":168},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":72,"head_meta":74,"extra_data":76,"updated_unix":78},105,"en","yaml-tutorial","YAML - Tutorial","","YAML is an abbreviation for “YAML Ain’t markup language,” designed as a human-friendly data serialization language that fits smoothly with other programming languages. The tutorial explains core skills for structuring readable configuration data and preparing it for practical use in day-to-day development tasks. Coverage includes audience fit, prerequisites, YAML file creation rules, basic components, indentation and separation, string handling, and comment features, along with collections, structures, scalars, and tags.",{"@graph":14,"@context":71},[15,34,54],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/technology/","Technology",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/yaml-tutorial/759563/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":48,"encodingFormat":47,"isAccessibleForFree":49,"interactionStatistic":50},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/yaml-tutorial/759563.png","ImageObject",300,407,{"name":42,"@type":43},"4398046744996","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-28",true,{"@type":51,"interactionType":52,"userInteractionCount":22},"InteractionCounter",{"@type":53},"ViewAction",{"@type":55,"mainEntity":56},"FAQPage",[57,63,67],{"name":58,"@type":59,"acceptedAnswer":60},"What is YAML and what is it used for?","Question",{"text":61,"@type":62},"YAML stands for “YAML Ain’t markup language.” It is a human-friendly data serialization language used to represent structured data that works well with other programming languages for everyday tasks.","Answer",{"name":64,"@type":59,"acceptedAnswer":65},"Who should learn this YAML tutorial?",{"text":66,"@type":62},"The tutorial targets web developers working with JSON and XML configuration files, as well as any programmer who wants to write structured, human-readable markup-like data.",{"name":68,"@type":59,"acceptedAnswer":69},"What prerequisites are needed to start?",{"text":70,"@type":62},"Basic knowledge of HTML, XML, and JSON is required. The tutorial also focuses on common YAML use cases like configuration files, log files, and cross-language data sharing.","https://schema.org",{"og:url":32,"og:type":73,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":75,"canonical":32},"index,follow",{"doc_id":77,"site_id":7},759563,1795887865,{"code":4,"msg":80,"data":81},"success",[82,86,90,94,99,103,108,113,118,121,125],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":83,"show_sort_weight":84,"slug":85},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":87,"show_sort_weight":88,"slug":89},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":91,"show_sort_weight":92,"slug":93},"Exam",70,"exam",{"id":95,"doc_module":4,"doc_module_name":25,"category_name":96,"show_sort_weight":97,"slug":98},5,"Comic",60,"comic",{"id":100,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":101,"slug":102},6,50,"technology",{"id":104,"doc_module":4,"doc_module_name":25,"category_name":105,"show_sort_weight":106,"slug":107},7,"Healthcare",40,"healthcare",{"id":109,"doc_module":4,"doc_module_name":25,"category_name":110,"show_sort_weight":111,"slug":112},8,"Research & Report",30,"research-report",{"id":114,"doc_module":4,"doc_module_name":25,"category_name":115,"show_sort_weight":116,"slug":117},9,"Religion & Spirituality",20,"religion-spirituality",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":119,"show_sort_weight":116,"slug":120},"World Cup","world-cup",{"id":122,"doc_module":4,"doc_module_name":25,"category_name":123,"show_sort_weight":122,"slug":124},10,"Lifestyle","lifestyle",{"id":126,"doc_module":4,"doc_module_name":25,"category_name":127,"show_sort_weight":95,"slug":128},19,"General","general",{"code":4,"msg":80,"data":130},{"doc_id":77,"user_id":131,"nickname":42,"user_avatar":11,"doc_module":4,"category_id":100,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":132,"file_id":133,"file_url":134,"file_type":135,"file_size":136,"view_count":22,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":137,"language":138,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":139,"faqs":140,"seo_title":141,"seo_description":12,"update_tm":78,"read_time":142,"preview_page_count":100,"preview_urls":143},4398046744996,"YAML  \nAbout the Tutorial  \n\n| YAML is the abbreviated form of “YAML Ain’t markup language” is a data serialization language which is designed to be human-friendly and works well with other programming languages for everyday tasks.\u003Cbr>This tutorial covers in detail about some important neuro linguistic programming skills that helps you to master the art of sales and persuading your potential buyer.\u003Cbr>Audience |\n| --- |\n| The target audience of this tutorial includes web developers who work with JSON and XML files for configuration settings. Any programmer who intends to write markup in a human readable structured data format can also learn YAML.\u003Cbr>Prerequisites |\n| The pre-requisites of this tutorial include basic knowledge of HTML, XML and JSON. YAML was specifically created to work well for common use cases such as configuration files, log files and cross language sharing files and data sharing.\u003Cbr>Copyright & Disclaimer |\n\n􀂤 Copyright 2018 by Tutorials Point (I) Pvt. Ltd.  \nAll the content and graphics published in this e-book are the property of Tutorials Point (I) Pvt. Ltd. The user of this e-book is prohibited to reuse, retain, copy, distribute or republish any contents or a part of contents of this e-book in any manner without written consent of the publisher.  \nWe strive to update the contents of our website and tutorials as timely and as precisely as possible, however, the contents may contain inaccuracies or errors. Tutorials Point (I) Pvt. Ltd. provides no guarantee regarding the accuracy, timeliness or completeness of our website or its contents including this tutorial. If you discover any errors on our website orin this tutorial, please notify us at [contact@tutorialspoint.com](contact@tutorialspoint.com)  \ni  \nYAML  \nTable of Contents  \nAbout the Tutorial.................................................................................................................................... i  \nAudience .................................................................................................................................................. i  \nPrerequisites ............................................................................................................................................ i  \nCopyright & Disclaimer............................................................................................................................. i  \nTable of Contents .................................................................................................................................... ii  \n1. YAML—INTRODUCTION...................................................................................................... 1  \nFormat ....................................................................................................................................................1  \nExamples .................................................................................................................................................1  \nFeatures ..................................................................................................................................................2  \n2. YAML – BASICS ........................................................................................................................ 3  \nRules for Creating YAML file ....................................................................................................................3  \nBasic Components of YAML File ..............................................................................................................3  \nSynopsis of YAML Basic Elements............................................................................................................4  \n3. YAML– INDENTATION AND SEPARATION.................................................................................5  \nIndentation of YAML ..................................................................................................................","cbCaihIDIxn3uhKU","https://ap.wps.com/l/cbCaihIDIxn3uhKU","pdf",1052146,56,"English","# About the Tutorial\n# Audience\n# Prerequisites\n# Copyright & Disclaimer\n# Table of Contents\n# YAML—INTRODUCTION\n## Format\n## Examples\n## Features\n# YAML – BASICS\n## Rules for Creating YAML file\n## Basic Components of YAML File\n## Synopsis of YAML Basic Elements\n# YAML– INDENTATION AND SEPARATION\n## Indentation of YAML\n## Separation of Strings\n# YAML – COMMENTS\n## Features of Comments\n# YAML – COLLECTIONS AND STRUCTURES\n## Examples\n# YAML – SCALARS AND TAGS\n## Integer tags\n## Floating point numbers\n## Miscellaneous Tags\n# YAML – FULL LENGTH EXAMPLE\n# YAML – PROCESSES\n## Representation\n## Serialization\n## Presentation","[{\"question\":\"What is YAML and what is it used for?\",\"answer\":\"YAML stands for “YAML Ain’t markup language.” It is a human-friendly data serialization language used to represent structured data that works well with other programming languages for everyday tasks.\"},{\"question\":\"Who should learn this YAML tutorial?\",\"answer\":\"The tutorial targets web developers working with JSON and XML configuration files, as well as any programmer who wants to write structured, human-readable markup-like data.\"},{\"question\":\"What prerequisites are needed to start?\",\"answer\":\"Basic knowledge of HTML, XML, and JSON is required. The tutorial also focuses on common YAML use cases like configuration files, log files, and cross-language data sharing.\"}]","YAML - Tutorial | PDF",141,[144,148,152,156,160,164],{"page_no":22,"url":145,"width":146,"height":147},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/3630d3c2e44f3bcd9462a8b09a76f5ea.webp",983,1390,{"page_no":26,"url":149,"width":150,"height":151},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/14c37220e72d9dfda56686d2c15035ca.webp",982,1388,{"page_no":30,"url":153,"width":154,"height":155},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/dfc89fe84242cb40f081c300253ac936.webp",981,1387,{"page_no":33,"url":157,"width":158,"height":159},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/63a78bbf665fa995da1ad6488bf377ca.webp",980,1385,{"page_no":95,"url":161,"width":162,"height":163},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/a3f23ec327111e885bc2aae2dfe7ddea.webp",979,1384,{"page_no":100,"url":165,"width":166,"height":167},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-28/a00e356dfe9f26c39ea25d1bbc9d89fe.webp",978,1383,{"list":169,"token":11},[170,176,182,188,194,201,207,214,220,226],{"doc_id":171,"doc_title":172,"file_type":135,"home_preview_img_url":173,"slug":174,"view_count":22,"category_name":29,"create_tm":175},759564,"Introduction to YAML","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044201029/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=i6wXGArWXO%2BmD7bCjpvV6s7WFqk%3D","introduction-to-yaml",1795887868,{"doc_id":177,"doc_title":178,"file_type":135,"home_preview_img_url":179,"slug":180,"view_count":22,"category_name":29,"create_tm":181},759559,"YAML Ain’t Markup Language (YAML™) - Working Draft Version 1.1","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044200985/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=a%2BxLGyQFe%2F7kvAe7TpbLz1km%2Bys%3D","yaml-aint-markup-language-yaml-working-draft-version-11",1795887858,{"doc_id":183,"doc_title":184,"file_type":135,"home_preview_img_url":185,"slug":186,"view_count":100,"category_name":29,"create_tm":187},685817,"Introduction to HTML - Part 1 - HTML Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000216087/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=p6kgRrR7UAqJll6QJoP%2FUdRiwvY%3D","introduction-to-html-part-1-html-basics",1794018870,{"doc_id":189,"doc_title":190,"file_type":135,"home_preview_img_url":191,"slug":192,"view_count":22,"category_name":29,"create_tm":193},759568,"YAML - Getting Started - Basic Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230044201039/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=Eb4bO%2FQ4f%2B4KcCUBKLzoLMwIgxI%3D","yaml-getting-started-basic-tutorial",1795887875,{"doc_id":195,"doc_title":196,"file_type":135,"home_preview_img_url":197,"slug":198,"view_count":199,"category_name":29,"create_tm":200},344716,"HTML Tutorial - Overview, Basic Tags, Elements, Attributes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910463447/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=ElCBgNVDeetlTMPQGvhc5sEWnaA%3D","html-tutorial-overview-basic-tags-elements-attributes",12,1790055038,{"doc_id":202,"doc_title":203,"file_type":135,"home_preview_img_url":204,"slug":205,"view_count":104,"category_name":29,"create_tm":206},732850,"UNIT I - INTRODUCTION TO HTML - HTML Basics and Structure","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230031779817/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=XWk%2BEba9%2Bj%2B4JOZG%2FQuHpYahslM%3D","unit-i-introduction-to-html-html-basics-and-structure",1795382472,{"doc_id":208,"doc_title":209,"file_type":135,"home_preview_img_url":210,"slug":211,"view_count":212,"category_name":29,"create_tm":213},346447,"HTML - Tutorial","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911195511/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=dk%2B0rf1DmvBneiHHDQBjp48QUCI%3D","html-tutorial",15,1790061473,{"doc_id":215,"doc_title":216,"file_type":135,"home_preview_img_url":217,"slug":218,"view_count":30,"category_name":29,"create_tm":219},689120,"DIPLOMA IN COMPUTER APPLICATION - WEB-DESIGN - Block 1 - HYPER TEXT MARKUP LANGUAGE (HTML)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001516703/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=%2Fb9sDqXMUfaJ44eWkjPkg8y%2FPdI%3D","diploma-in-computer-application-web-design-block-1-hyper-text-markup-language-html",1794097032,{"doc_id":221,"doc_title":222,"file_type":135,"home_preview_img_url":223,"slug":224,"view_count":199,"category_name":29,"create_tm":225},346438,"Introduction to HTML - Basic Concepts and Examples","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229911195333/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=FAqysBTEXlKtkjd%2B1lZAXF%2FZIoU%3D","introduction-to-html-basic-concepts-and-examples",1790061454,{"doc_id":227,"doc_title":228,"file_type":135,"home_preview_img_url":229,"slug":230,"view_count":231,"category_name":29,"create_tm":232},344998,"INTRODUCTION TO XML - Overview","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229910870584/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796111939&Signature=x6%2BEnWtyeEb7OmzrMxcqJVPoiwk%3D","introduction-to-xml-overview",16,1790056129]