创建json对象
var jsons = [];
创建json子对象
var json = {"func":func};
将子对象加入到json对象中
jsons.push(json);
支持iframe调用