| 91 | } |
| 92 | |
| 93 | std::string valueToJsonString(const Value& value) { |
| 94 | auto json = valueToJson(value); |
| 95 | auto stringView = std::string_view(reinterpret_cast<const char*>(json->data()), json->size()); |
| 96 | return std::string(stringView); |
| 97 | } |
| 98 | |
| 99 | void writeValueToJSONWriter(const Value& value, JSONWriter& writer) { |
| 100 | switch (value.getType()) { |
no test coverage detected