2022-07-31 07:22:22 +02:00
|
|
|
// __ _____ _____ _____
|
|
|
|
// __| | __| | | | JSON for Modern C++
|
2023-11-28 22:36:31 +01:00
|
|
|
// | | |__ | | | | | | version 3.11.3
|
2022-07-31 07:22:22 +02:00
|
|
|
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
|
|
|
|
//
|
2023-11-26 15:51:19 +01:00
|
|
|
// SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>
|
2022-07-31 07:22:22 +02:00
|
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
|
2022-07-30 21:59:13 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <nlohmann/detail/macro_scope.hpp>
|
|
|
|
|
|
|
|
#if JSON_HAS_EXPERIMENTAL_FILESYSTEM
|
|
|
|
#include <experimental/filesystem>
|
|
|
|
NLOHMANN_JSON_NAMESPACE_BEGIN
|
|
|
|
namespace detail
|
|
|
|
{
|
|
|
|
namespace std_fs = std::experimental::filesystem;
|
|
|
|
} // namespace detail
|
|
|
|
NLOHMANN_JSON_NAMESPACE_END
|
|
|
|
#elif JSON_HAS_FILESYSTEM
|
|
|
|
#include <filesystem>
|
|
|
|
NLOHMANN_JSON_NAMESPACE_BEGIN
|
|
|
|
namespace detail
|
|
|
|
{
|
|
|
|
namespace std_fs = std::filesystem;
|
|
|
|
} // namespace detail
|
|
|
|
NLOHMANN_JSON_NAMESPACE_END
|
|
|
|
#endif
|