should be it

This commit is contained in:
2025-10-24 19:21:19 -05:00
parent a4b23fc57c
commit f09560c7b1
14047 changed files with 3161551 additions and 1 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,33 @@
//===----------------------------------------------------------------------===//
// DuckDB
//
// yyjson_utils.hpp
//
//
//===----------------------------------------------------------------------===//
#pragma once
#include "yyjson.hpp"
using namespace duckdb_yyjson; // NOLINT
namespace duckdb {
struct ConvertedJSONHolder {
public:
~ConvertedJSONHolder() {
if (doc) {
yyjson_mut_doc_free(doc);
}
if (stringified_json) {
free(stringified_json);
}
}
public:
yyjson_mut_doc *doc = nullptr;
char *stringified_json = nullptr;
};
} // namespace duckdb