We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56274bc commit 8c0af54Copy full SHA for 8c0af54
src/javaxt/json/JSONObject.java
@@ -193,6 +193,16 @@ public boolean isNull(String key) {
193
}
194
195
196
+ //**************************************************************************
197
+ //** isEmpty
198
199
+ /** Returns true if there are no entries in the JSONObject.
200
+ */
201
+ public boolean isEmpty(){
202
+ return map.isEmpty();
203
+ }
204
+
205
206
//**************************************************************************
207
//** keys
208
0 commit comments