js判断json对象是否为空

if("{}" == JSON.stringify(json对象)) {
    // 满足条件就是空
}
原文地址:https://www.cnblogs.com/xiaostudy/p/11080106.html