Wildmeshing Toolkit
json_utils.cpp
Go to the documentation of this file.
1
#include "
json_utils.hpp
"
2
3
namespace
nlohmann
{
4
5
void
adl_serializer<std::filesystem::path>::to_json
(
json
& j,
const
std::filesystem::path& p)
6
{
7
j = p.string();
8
}
9
10
void
adl_serializer<std::filesystem::path>::from_json
(
const
json
& j, std::filesystem::path& p)
11
{
12
p = j.get<std::string>();
13
}
14
15
}
// namespace nlohmann
json_utils.hpp
nlohmann
Definition:
InputOptions.cpp:15
wmtk::components::internal::from_json
void from_json(const nlohmann::json &j, RegularSpaceOptions &o)
Definition:
RegularSpaceOptions.cpp:17
wmtk::components::internal::to_json
void to_json(nlohmann::json &j, RegularSpaceOptions &o)
Definition:
RegularSpaceOptions.cpp:7
json
nlohmann::json json
Definition:
input.cpp:9
components
utils
wmtk
components
utils
json_utils.cpp
Generated by
1.9.1