Online YAML Parser
Output
{ "prop": { "result": 42, "name": "alice" } }
Examples from YAML 1.2 Spec
- - Mark McGwire - Sammy Sosa - Ken Grif...
- hr: 65 # Home runs avg: 0.278 # Bat...
- american: - Boston Red Sox - Detro...
- - name: Mark McGwire hr: 65 a...
- - [name , hr, avg ] - [Mark McG...
- Mark McGwire: {hr: 65, avg: 0.278} Samm...
- # Ranking of 1998 home runs --- - Mark...
- --- time: 20:03:20 player: Sammy Sosa ...
- --- hr: # 1998 hr ranking - Mark McG...
- --- hr: - Mark McGwire # Followin...
- ? - Detroit Tigers - Chicago cubs : ...
- --- # Products purchased - item : S...
- # ASCII Art --- | \//||\/|| // ||...
- --- > Mark McGwire's year was crip...
- > Sammy Sosa completed another fine ...
- name: Mark McGwire accomplishment: > ...
- unicode: "Sosa did fine.\u263A" control...
- plain: This unquoted scalar spans ...
- canonical: 12345 decimal: +12345 octal...
- canonical: 1.23015e+3 exponential: 12.3...
- null: booleans: [ true, false ] string...
- canonical: 2001-12-15T02:59:43.1Z iso86...
- --- not-date: !!str 2002-04-28 pictu...
- %TAG ! tag:clarkevans.com,2002: --- !sh...
- # Sets are represented as a # Mapping w...
- # Ordered maps are represented as # A s...
- --- !<tag:clarkevans.com,2002:invoice> ...
- --- Time: 2001-11-23 15:01:42 -5 User:...