var tmp id jsonrpc method sayHello name Vasya var postData json YAHOO

1
2
var tmp = {id: 'jsonrpc', method: 'sayHello', name: 'Vasya'};
var postData = "json="+ YAHOO.lang.JSON.stringify(tmp);