Online YAML Parser
Output
{ "not a number": NaN, "negative infinity": -Infinity, "fixed": 1230.15, "exponential": 1230.15, "canonical": 1230.15 }
Examples from YAML 1.2 Spec
- - Mark McGwire - Sammy Sosa - Ken Griffe...
- hr: 65 # Home runs avg: 0.278 # Batt...
- american: - Boston Red Sox - Detroit...
- - name: Mark McGwire hr: 65 avg:...
- - [name , hr, avg ] - [Mark McGw...
- Mark McGwire: {hr: 65, avg: 0.278} Sammy...
- # Ranking of 1998 home runs --- - Mark M...
- --- time: 20:03:20 player: Sammy Sosa ac...
- --- hr: # 1998 hr ranking - Mark McGwi...
- --- hr: - Mark McGwire # Following n...
- ? - Detroit Tigers - Chicago cubs : ...
- --- # Products purchased - item : Sup...
- # ASCII Art --- | \//||\/|| // || |...
- --- > Mark McGwire's year was crippl...
- > Sammy Sosa completed another fine se...
- name: Mark McGwire accomplishment: > M...
- unicode: "Sosa did fine.\u263A" control:...
- plain: This unquoted scalar spans ma...
- canonical: 12345 decimal: +12345 octal: ...
- canonical: 1.23015e+3 exponential: 12.30...
- null: booleans: [ true, false ] string: ...
- canonical: 2001-12-15T02:59:43.1Z iso860...
- --- not-date: !!str 2002-04-28 picture:...
- %TAG ! tag:clarkevans.com,2002: --- !sha...
- # Sets are represented as a # Mapping wh...
- # Ordered maps are represented as # A se...
- --- !<tag:clarkevans.com,2002:invoice> i...
- --- Time: 2001-11-23 15:01:42 -5 User: e...