| 367 | } |
| 368 | |
| 369 | Result<bool> JsonFileFormat::IsSupported(const FileSource& source) const { |
| 370 | RETURN_NOT_OK(source.Open().status()); |
| 371 | return OpenReader(source, *this, nullptr).ok(); |
| 372 | } |
| 373 | |
| 374 | Result<std::shared_ptr<Schema>> JsonFileFormat::Inspect(const FileSource& source) const { |
| 375 | ARROW_ASSIGN_OR_RAISE(auto reader, OpenReader(source, *this)); |
nothing calls this directly
no test coverage detected