| 33 | Impl() : root_(rj::kObjectType) {} |
| 34 | |
| 35 | void SetString(std::string_view key, std::string_view value) { |
| 36 | rj::Document::AllocatorType& allocator = document_.GetAllocator(); |
| 37 | |
| 38 | rj::Value str_key(key.data(), allocator); |
| 39 | rj::Value str_value(value.data(), allocator); |
| 40 | |
| 41 | root_.AddMember(str_key, str_value, allocator); |
| 42 | } |
| 43 | |
| 44 | void SetBool(std::string_view key, bool value) { |
| 45 | rj::Document::AllocatorType& allocator = document_.GetAllocator(); |
nothing calls this directly
no test coverage detected