标签:class rgb guid div json对象 col color instance print
判断json对象时JSONArray还是JSONObject
使用的fastjson
Object object = js.get("guid");
if (object instanceof JSONArray) {
System.out.println("JSONArray");
}else{
System.out.println("JSONObject");
}
判断json对象时JSONArray还是JSONObject
标签:class rgb guid div json对象 col color instance print
原文地址:https://www.cnblogs.com/baby123/p/14029354.html