| 241 | } |
| 242 | |
| 243 | inline static Status ParseFromString(ParseOptions options, string_view src_str, |
| 244 | std::shared_ptr<Array>* parsed) { |
| 245 | auto src = std::make_shared<Buffer>(src_str); |
| 246 | std::unique_ptr<BlockParser> parser; |
| 247 | RETURN_NOT_OK(BlockParser::Make(options, &parser)); |
| 248 | RETURN_NOT_OK(parser->Parse(src)); |
| 249 | return parser->Finish(parsed); |
| 250 | } |
| 251 | |
| 252 | inline static Status ParseFromString(ParseOptions options, string_view src_str, |
| 253 | std::shared_ptr<StructArray>* parsed) { |
no test coverage detected