| 112 | } |
| 113 | |
| 114 | void StartObj(bool is_element = false) { |
| 115 | // if this appears as a plain array element, we need to insert a delimiter and we should also indent it |
| 116 | if (is_element) { |
| 117 | AddIndentation(); |
| 118 | if (!first) { |
| 119 | buff << ','; |
| 120 | } |
| 121 | } |
| 122 | first = true; |
| 123 | buff << "{" << newline; |
| 124 | PushIndent(); |
| 125 | } |
| 126 | |
| 127 | void EndObj() { |
| 128 | PopIndent(); |
no outgoing calls
no test coverage detected