You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thrownewIllegalArgumentException(String.format("Expected the field `tiledb_uri` to be a primitive type in the JSON string but got `%s`", jsonObj.get("tiledb_uri").toString()));
949
949
}
950
950
// ensure the json data is an array
951
-
if (jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonArray()) {
952
-
thrownewIllegalArgumentException(String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString()));
953
-
}
954
-
if (jsonObj.get("license_id") != null && !jsonObj.get("license_id").isJsonPrimitive()) {
955
-
thrownewIllegalArgumentException(String.format("Expected the field `license_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("license_id").toString()));
956
-
}
957
-
if (jsonObj.get("license_text") != null && !jsonObj.get("license_text").isJsonPrimitive()) {
958
-
thrownewIllegalArgumentException(String.format("Expected the field `license_text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("license_text").toString()));
959
-
}
951
+
// if (jsonObj.get("tags") != null && !jsonObj.get("tags").isJsonArray()) {
952
+
// throw new IllegalArgumentException(String.format("Expected the field `tags` to be an array in the JSON string but got `%s`", jsonObj.get("tags").toString()));
953
+
// }
954
+
// if (jsonObj.get("license_id") != null && !jsonObj.get("license_id").isJsonPrimitive()) {
955
+
// throw new IllegalArgumentException(String.format("Expected the field `license_id` to be a primitive type in the JSON string but got `%s`", jsonObj.get("license_id").toString()));
956
+
// }
957
+
// if (jsonObj.get("license_text") != null && !jsonObj.get("license_text").isJsonPrimitive()) {
958
+
// throw new IllegalArgumentException(String.format("Expected the field `license_text` to be a primitive type in the JSON string but got `%s`", jsonObj.get("license_text").toString()));
0 commit comments