mirror of
https://github.com/ethauvin/JSON-java.git
synced 2025-06-17 07:50:52 -07:00
partially revert changes
This commit is contained in:
parent
05074386d3
commit
7cad4c3b26
3 changed files with 10 additions and 10 deletions
|
@ -178,7 +178,7 @@ public class JSONML {
|
|||
newjo.accumulate(attribute, "");
|
||||
}
|
||||
}
|
||||
if (arrayForm && !newjo.isEmpty()) {
|
||||
if (arrayForm && newjo.length() > 0) {
|
||||
newja.put(newjo);
|
||||
}
|
||||
|
||||
|
@ -208,7 +208,7 @@ public class JSONML {
|
|||
"' and '" + closeTag + "'");
|
||||
}
|
||||
tagName = null;
|
||||
if (!arrayForm && !newja.isEmpty()) {
|
||||
if (!arrayForm && newja.length() > 0) {
|
||||
newjo.put("childNodes", newja);
|
||||
}
|
||||
if (ja == null) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue