| 184 | } |
| 185 | |
| 186 | ::arrow::Result<std::string> EscapeJsonString(std::string_view value) { |
| 187 | ::arrow::internal::JsonWriter writer; |
| 188 | writer.String(value); |
| 189 | |
| 190 | ARROW_ASSIGN_OR_RAISE(auto escaped, writer.GetString()); |
| 191 | return ::arrow::internal::MinifyJson(escaped); |
| 192 | } |
| 193 | |
| 194 | ::arrow::Result<std::string> EscapeCrsAsJsonIfRequired(std::string_view crs) { |
| 195 | simdjson::ondemand::parser parser; |
no test coverage detected