| 109 | } |
| 110 | |
| 111 | Result<std::string_view> GetStringView(const rj::Value& str) { |
| 112 | if (!str.IsString()) { |
| 113 | return Status::Invalid("field was not a string"); |
| 114 | } |
| 115 | return std::string_view{str.GetString(), str.GetStringLength()}; |
| 116 | } |
| 117 | |
| 118 | class SchemaWriter { |
| 119 | public: |
no test coverage detected