Comment vérifier si un objet JSON est vide

obj.length() == 0
is what I would do.
Santino