break;
case OBJECT:
writer.append('{');
final Iterator<JsonField> jsonStringNodes = fieldSorter.sort(jsonNode.getFieldList()).iterator();
while (jsonStringNodes.hasNext()) {
final JsonField field = jsonStringNodes.next();
writer.println();
addTabs(writer, indent + 1);
formatJsonNode(field.getName(), writer, indent + 1);
writer.append(": ");
formatJsonNode(field.getValue(), writer, indent + 1);
if (jsonStringNodes.hasNext()) {
writer.append(",");
}
}
if (!jsonNode.getFieldList().isEmpty()) {