Revize 9177fbe3
Přidáno uživatelem Michal Horký před asi 4 roky(ů)
project/Deserializer/src/jdeserialize/arrayobj.java | ||
---|---|---|
35 | 35 |
sb.append("[ "); |
36 | 36 |
|
37 | 37 |
for (Object el : this.data) { |
38 |
if (el != null && el instanceof content) { |
|
39 |
sb.append(((content)el).toJson(indentation)); |
|
38 |
if (el != null) { |
|
39 |
if (el instanceof content) { |
|
40 |
sb.append(((content) el).toJson(indentation)); |
|
41 |
}else{ |
|
42 |
sb.append(el.toString()); |
|
43 |
} |
|
40 | 44 |
// el null! |
41 | 45 |
if (!el.equals(this.data.get(this.data.size() - 1))) { |
42 | 46 |
sb.append(", "); |
Také k dispozici: Unified diff
re #7879
instance.java changed