0 votes
in JSON by
How to escape indicator characters (i.e. : or - ) in YAML?

1 Answer

0 votes
by

Quotes:

"url: http://www.example-site.com/"

To clarify, I meant “quote the value” and originally thought the entire thing was the value. If http://www.example-site.com/ is the value, just quote it like so:

url: "http://www.example-site.com/"
...