Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Quickly Testing Yaml Syntax

DZone's Guide to

Quickly Testing Yaml Syntax

·
Free Resource

irb --simple-prompt -r yaml
>> d = YAML.load <<-TEXT
line_with_breaks: >
  My name is Simon 
  Things I like:
    * drawings
TEXT
=> {"line_with_breaks"=>"My name is Simon Things I like:\n  * drawings\n"}


ripped from noradio
Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}