On Jan 16, 2:23 pm, Justin Steward <[email protected]> wrote:
> On Tue, Jan 17, 2012 at 5:19 AM, Tavis Rudd <[email protected]> wrote:
> > {"v":, 1234}
>
> Except that's not valid JSON, so it's still not a simple cut and paste
> solution. I personally think that confusing a colon with whitespace
> under any circumstances is an unnecessary confusion leading to
> unnecessary errors.
>
> ~Justin
Er, brain fart. I was typing faster than I was thinking and put the
comma in the wrong place. In my head I meant the form following the
colon would have to have a comma after it. Thus, {"a-json-key":
1234, ...} would be valid while {"a-json-key": was-supposed-to-be-a-
keyword "another-json-key" foo} would complain about the colon being
an Invalid Token. I don't see the need for it, however. Search and
replace is just as easy as cut and paste.
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en