Typo in 'yaml probaly not so great'
kirk-clover opened this issue · comments
The parsed version of the YAML should be
{13: 'Tilburg', 'Effenaar': 'Eindhoven'}
013 is a popular music Venue in Tilburg, but YAML will send you the wrong way:
{11: 'Tilburg', 'Effenaar': 'Eindhoven'}
013
gets parsed as an octal number, which is 11
in decimal. Try it here: https://yaml-online-parser.appspot.com/?yaml=Effenaar%3A+Eindhoven%0A013%3A+Tilburg%0A&type=json
I'll clarify this a bit, since you're not the first person who got confused by this :-)
Thanks!
Ah! Crazy stuff...
…On Wed, Jun 20, 2018 at 3:09 PM, Martin Tournoij ***@***.***> wrote:
013 gets parsed as an octal number, which is 11 in decimal. Try it here:
https://yaml-online-parser.appspot.com/?yaml=Effenaar%3A+
Eindhoven%0A013%3A+Tilburg%0A&type=json
I'll clarify this a bit, since you're not the first person who got
confused by this :-)
Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#3 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AlSwV2d4ktJ7WxKu9jf37QBi1gPm1lVNks5t-sgggaJpZM4UwEEm>
.
--
*Kirk Tarou*
Software Engineer, Clover Health
22 4th St, 5th Floor
San Francisco, CA 94103