On Tue, Dec 8, 2009 at 2:11 PM, Timothy Baldridge <[email protected]> wrote:
> You're right...that fixed it.
>
> It seems to be that I just simply "FAIL" when it comes to JSON. I had
> assumed that in JSON (like in JavaScript) " == ' . This is not the
> case. As you'll notice above I have single quotes around the values,
> this forced me to use double quotes around the key definition so that
> it'd be accepted by CouchDB. This was causing the issue, I switched to
> double quotes and dropped the quotes on the outside of the key and it
> works fine.
>
> Thanks!
>
> Timothy
>

If you were submitting this with cURL its easy to run afoul of the
shell escaping semantics. I tend to single quote the entire URL to
account for the JSON as well as ampersands in the query string.

HTH,
Paul Davis

Reply via email to