A dictionary is displays as [Object Object].
If you want, you can try this code:

var json = eval('["e",{"pluribus":"unum"}]');
alert(json[0]);
for (key in json[1]) {
  alert(key + ": " + json[1][key]);
}

2009/4/17 DiveIntoGAE <taogf1...@gmail.com>

>
> server side:
>
>          result = '["e",{"pluribus":"unum"}]'
>          self.response.out.write(simplejson.dumps(result))
>
>
> guest side:
>          var jsonResponse = JSON.parse(response);
>          alert(jsonResponse);
>
>
> the result turns out to be:
>        e,[Object Object]
>
>
> why?
>
> how can i get the data in response?
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to