enable empty node list
This commit is contained in:
parent
1e6c40973e
commit
a55bef904f
1 changed files with 1 additions and 1 deletions
|
|
@ -122,7 +122,7 @@ public class FormatJson extends Formatter {
|
|||
.append(sele).append("],\n");
|
||||
nn = n;
|
||||
}
|
||||
sb.deleteCharAt(sb.lastIndexOf(","));
|
||||
if (t.nodes != null && !t.nodes.isEmpty()) sb.deleteCharAt(sb.lastIndexOf(","));
|
||||
|
||||
sb.append(" ]\n");
|
||||
sb.append(" }\n");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue