kenatsun
04-24-2009, 03:58 AM
Here's the string:
{"bucket":"dhat-groups-3", "key":"teachings/00little01.txt", "etag":"0c44405e7efa6d576bc7809646418000"}
I'm getting an "invalid JSON string" message from the YAHOO.lang.JSON.parse() method. (See http://developer.yahoo.com/yui/docs/JSON.html) The full error message is:
Invalid JSON string returned from the success_action_redirect URL:
<pre>{"bucket":"dhat-groups-3", "key":"teachings/00little02.txt", "etag":"5592219e321dec57dbf34678a181839f"}</pre>
As far as I can tell, this string satisfies the syntax at http://www.json.org/.
Quoting the "/" in the "key" entry, so the string is...
{"bucket":"dhat-groups-3", "key":"teachings\/00little02.txt", "etag":"5592219e321dec57dbf34678a181839f"}
...gets the same error.
This is my first venture into JSON, so I hope there's something that my untrained eyes are missing.
~ TIA
~ Ken
{"bucket":"dhat-groups-3", "key":"teachings/00little01.txt", "etag":"0c44405e7efa6d576bc7809646418000"}
I'm getting an "invalid JSON string" message from the YAHOO.lang.JSON.parse() method. (See http://developer.yahoo.com/yui/docs/JSON.html) The full error message is:
Invalid JSON string returned from the success_action_redirect URL:
<pre>{"bucket":"dhat-groups-3", "key":"teachings/00little02.txt", "etag":"5592219e321dec57dbf34678a181839f"}</pre>
As far as I can tell, this string satisfies the syntax at http://www.json.org/.
Quoting the "/" in the "key" entry, so the string is...
{"bucket":"dhat-groups-3", "key":"teachings\/00little02.txt", "etag":"5592219e321dec57dbf34678a181839f"}
...gets the same error.
This is my first venture into JSON, so I hope there's something that my untrained eyes are missing.
~ TIA
~ Ken