Shopify/batman — comment on commit 7f687a26995c70d663c25371c60a587721719d7c
File: tests/batman/model/encoders_test.coffee line 72
By sidonath:

Code smell is a reasonable argument against a feature, agreed. Then again, JSON strictly requires all keys to be double-quoted. I don't think there are any instances when one actually uses unquoted key anywhere in Batman. Moreover, this is a requirement only for users who will directly acces non-stringified input to toJSON/output of fromJSON. Anyone writing `{broken?: true)` would see a problem, just as anyone would see a problem with writing `{class: foobar}`. And Batman doesn't disallow accessors named "class"?