if("{}" == JSON.stringify(json对象)) { // 知足条件就是空 }
转载于:https://www.cnblogs.com/xiaostudy/p/11080106.htmlhtml