1c5f01b2fSopenharmony_ci// __ _____ _____ _____ 2c5f01b2fSopenharmony_ci// __| | __| | | | JSON for Modern C++ 3c5f01b2fSopenharmony_ci// | | |__ | | | | | | version 3.11.2 4c5f01b2fSopenharmony_ci// |_____|_____|_____|_|___| https://github.com/nlohmann/json 5c5f01b2fSopenharmony_ci// 6c5f01b2fSopenharmony_ci// SPDX-FileCopyrightText: 2013-2022 Niels Lohmann <https://nlohmann.me> 7c5f01b2fSopenharmony_ci// SPDX-License-Identifier: MIT 8c5f01b2fSopenharmony_ci 9c5f01b2fSopenharmony_ci#pragma once 10c5f01b2fSopenharmony_ci 11c5f01b2fSopenharmony_ci#include <nlohmann/detail/macro_scope.hpp> 12c5f01b2fSopenharmony_ci 13c5f01b2fSopenharmony_ci#if JSON_HAS_EXPERIMENTAL_FILESYSTEM 14c5f01b2fSopenharmony_ci#include <experimental/filesystem> 15c5f01b2fSopenharmony_ciNLOHMANN_JSON_NAMESPACE_BEGIN 16c5f01b2fSopenharmony_cinamespace detail 17c5f01b2fSopenharmony_ci{ 18c5f01b2fSopenharmony_cinamespace std_fs = std::experimental::filesystem; 19c5f01b2fSopenharmony_ci} // namespace detail 20c5f01b2fSopenharmony_ciNLOHMANN_JSON_NAMESPACE_END 21c5f01b2fSopenharmony_ci#elif JSON_HAS_FILESYSTEM 22c5f01b2fSopenharmony_ci#include <filesystem> 23c5f01b2fSopenharmony_ciNLOHMANN_JSON_NAMESPACE_BEGIN 24c5f01b2fSopenharmony_cinamespace detail 25c5f01b2fSopenharmony_ci{ 26c5f01b2fSopenharmony_cinamespace std_fs = std::filesystem; 27c5f01b2fSopenharmony_ci} // namespace detail 28c5f01b2fSopenharmony_ciNLOHMANN_JSON_NAMESPACE_END 29c5f01b2fSopenharmony_ci#endif 30