| 1349 | } |
| 1350 | |
| 1351 | void JsonWriter::BeginObject(bool singleLine) |
| 1352 | { |
| 1353 | D3D12MA_ASSERT(!m_InsideString); |
| 1354 | |
| 1355 | BeginValue(false); |
| 1356 | m_SB.Add(L'{'); |
| 1357 | |
| 1358 | StackItem stackItem; |
| 1359 | stackItem.type = COLLECTION_TYPE_OBJECT; |
| 1360 | stackItem.valueCount = 0; |
| 1361 | stackItem.singleLineMode = singleLine; |
| 1362 | m_Stack.push_back(stackItem); |
| 1363 | } |
| 1364 | |
| 1365 | void JsonWriter::EndObject() |
| 1366 | { |
no test coverage detected