I found this:
Use Python output:
print ‘Content-type: text/x-json\n\n’
print json.dumps([{'title':arr['title']}])
and get json string with Jquery:
$ajax(
success: function(msg){
if(msg[0].title) alert(msg[0].title);
}
)
It works, who can tell me why it is? Thanks~