jjzjj

dimObject

全部标签

java - 为什么 json 以这种奇怪的方式表现?

JSON作为KEY有没有保留字?我的Json结构是dimObject{String:String}finalObject(String:dimObject}Line1#JSONObjectdimObject=newJSONObject()Line2#dimObject.put("class",["A","B","c"]);Line3#dimObject.put("name",["sam"]);Line4#System.out.print("dimObject#"+dimObject.toString());Line5#JSONObjectfinalObject=newnewJSONOb