YAML to JSON



Drag/Copy Paste The YAML Text Here:




Insight: YAML ("YAML Ain't Markup Language") is a human-readable data-serialization language. It is commonly used for configuration files, but could be used in many applications where data is being stored (e.g. debugging output) or transmitted (e.g. document headers).
- Number: Number, integer or real number (including the syntax with exponent). The decimal separator is always a period. Example: 1316, -1.23, 0.12e-4
When you are creating a file in YAML, you should remember the following basic rules −
- YAML is case sensitive
- The files should have .yaml as the extension
- YAML does not allow the use of tabs while creating YAML files; spaces are allowed instead
Example:
--- # Favorite movies
- Casablanca
- North by Northwest
- The Man Who Wasn't There

Example 2: (Folder text)
- {name: John Smith, age: 33}
- name: Mary Smith
age: 27