--------------------------------- Writer::Write Write the json root object to the internal string, which gets cleared before
| 15 | // Write the json root object to the internal string, which gets cleared before |
| 16 | // |
| 17 | bool Writer::Write(Object const* const rootObj) |
| 18 | { |
| 19 | if (rootObj == nullptr) |
| 20 | { |
| 21 | LOG("JSON::Writer::Write > Failed to write JSON to string, root object was null", LogLevel::Warning); |
| 22 | return false; |
| 23 | } |
| 24 | |
| 25 | m_JsonString.clear(); |
| 26 | return WriteObject(rootObj); |
| 27 | } |
| 28 | |
| 29 | //--------------------------------- |
| 30 | // Writer::WriteObject |
nothing calls this directly
no outgoing calls
no test coverage detected