mirror of
https://github.com/nlohmann/json.git
synced 2026-03-29 20:32:45 +00:00
* 🚨 fix warning * 💚 update actions * 🚨 fix warning * 🚨 fix warning * 🚨 fix warning * 💚 update actions * 💚 update actions * 🚨 fix warning * 🚨 fix warning * 💚 update actions * 🚨 fix warning * 💚 update actions * 💚 update actions * 💚 update actions * 🚨 fix warning * 🚨 fix warning * 🚨 fix warning * 🚨 fix warning * 💚 update actions * 💚 update actions * 🚨 fix warning * 💚 update actions * 💚 update actions * 💚 update actions * 💚 update actions * 💚 update actions
30 lines
789 B
C++
30 lines
789 B
C++
// __ _____ _____ _____
|
|
// __| | __| | | | JSON for Modern C++
|
|
// | | |__ | | | | | | version 3.11.3
|
|
// |_____|_____|_____|_|___| https://github.com/nlohmann/json
|
|
//
|
|
// SPDX-FileCopyrightText: 2013-2023 Niels Lohmann <https://nlohmann.me>
|
|
// SPDX-License-Identifier: MIT
|
|
|
|
#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> // NOLINT(build/c++17)
|
|
NLOHMANN_JSON_NAMESPACE_BEGIN
|
|
namespace detail
|
|
{
|
|
namespace std_fs = std::filesystem;
|
|
} // namespace detail
|
|
NLOHMANN_JSON_NAMESPACE_END
|
|
#endif
|