Closed kbrock closed 11 months ago
@kbrock isn't {foo: 2}
invalid json?
@kbrock isn't
{foo: 2}
invalid json?
Yes. It is invalid.
This PR takes the simplified text from the command line and adds quotes around it to turn it into something valid.
It is tricky to type this out since you need to wrap everything in double quotes and the individual keys in single quotes (or vice versa). Removing one level of quotes is a boon.
I'm not sure about this, because it makes it appear like invalid json is acceptable.
punting on this idea
Before
After