上述为json格式 用于http传输的数据格式,
一般使用前台 ajax请求 ,在控制层将json传给回调函数进行解析后,通过脚本语言进行数据更新。
例如:
$.ajax({
type: "post",
url:“",
data:{},
dataType:"json",
success:function(data,status) {
if(status=="success") {
//data就是你需要的数据
}
}
}
});
是和android交互吗