結果 : check if json string is empty javascript