The outputted keys need to be barewords, I believe.
Ah, I see, I misread your post here and I thought you were talking about the extra quotes in the values, not the keys. Yes, the quotes around the keys are required by JSON, but JSON is a subset of JavaScript, so if someone is requiring you to omit the quotes, I'd ask why that is and why they can't accept regular JSON.
In reply to Re^7: Converting hash into js object properties
by haukex
in thread Converting hash into js object properties
by nysus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |