Last Updated: February 25, 2016
·
14.49K
· i-arindam

Special characters in yml file

In case you need characters like comma or single quote in your yml file:

For single quote, escape it with another single quote :-)
like so,

key: ain''t

For comma, use a double quote to surround the value
like so,

key: "gibberish, and some words"

Repeat the combinations as and where you want without running into string breaks