- <script>
- var jsonObj =
- {
- "total": 3,
- "rows": [
- {
- "title": "树莓",
- "url": "http://blog.csdn.net/xukai871105/article/details/23115627"
- },
- {
- "title": "树莓",
- "url": "http://blog.csdn.net/xukai871105/article/details/12684617"
- },
- {
- "title": "物联网",
- "url": "http://blog.csdn.net/xukai871105/article/details/23366187"
- }
- ]
- };
- console.log(jsonObj.total);
- for(var i=0; i<jsonObj.rows.length; i++) {
- console.log(jsonObj.rows[i].title);
- console.log(jsonObj.rows[i].url);
- }
- </script>
Json 从后端发送到前端 Easyui
最新推荐文章于 2022-10-31 14:18:35 发布