1#pragma once
2
3#include "duckdb/main/relation/table_function_relation.hpp"
4#include "duckdb/main/client_context.hpp"
5#include "duckdb/common/named_parameter_map.hpp"
6#include "duckdb/parser/column_definition.hpp"
7#include "duckdb/common/string.hpp"
8#include "duckdb/common/vector.hpp"
9
10namespace duckdb {
11
12class ReadJSONRelation : public TableFunctionRelation {
13public:
14 ReadJSONRelation(const shared_ptr<ClientContext> &context, string json_file, named_parameter_map_t options,
15 bool auto_detect, string alias = "");
16 string json_file;
17 string alias;
18
19public:
20 string GetAlias() override;
21};
22
23} // namespace duckdb
24