public static boolean selected(IJSONObject object) {\r
return getValueOrDefault(object, "selected", false);\r
}\r
public static boolean selected(IJSONObject object) {\r
return getValueOrDefault(object, "selected", false);\r
}\r
public static String getType(IJSONObject object) {\r
String result = (String)object.getValue("type");\r
if(result == null) throw new IllegalStateException("No type for object " + object);\r
public static String getType(IJSONObject object) {\r
String result = (String)object.getValue("type");\r
if(result == null) throw new IllegalStateException("No type for object " + object);\r