| 42 | } |
| 43 | |
| 44 | void SetBool(std::string_view key, bool value) { |
| 45 | rj::Document::AllocatorType& allocator = document_.GetAllocator(); |
| 46 | |
| 47 | rj::Value str_key(key.data(), allocator); |
| 48 | |
| 49 | root_.AddMember(str_key, value, allocator); |
| 50 | } |
| 51 | |
| 52 | std::string Serialize() { |
| 53 | rj::StringBuffer buffer; |
nothing calls this directly
no test coverage detected