| 128 | } |
| 129 | |
| 130 | static void array_common(struct json_writer *jw) |
| 131 | { |
| 132 | assert_in_array(jw); |
| 133 | maybe_add_comma(jw); |
| 134 | |
| 135 | if (jw->pretty) { |
| 136 | strbuf_addch(&jw->json, '\n'); |
| 137 | indent_pretty(jw); |
| 138 | } |
| 139 | } |
| 140 | |
| 141 | /* |
| 142 | * Assert that the given JSON object or JSON array has been properly |
no test coverage detected