Wildmeshing Toolkit
json_utils.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <filesystem>
4 #include <nlohmann/json.hpp>
5 
6 namespace nlohmann {
11 template <>
12 struct adl_serializer<std::filesystem::path>
13 {
14  static void to_json(json& j, const std::filesystem::path& p);
15 
16  static void from_json(const json& j, std::filesystem::path& p);
17 };
18 } // namespace nlohmann
Definition: autodiff.h:995
void from_json(const nlohmann::json &j, RegularSpaceOptions &o)
void to_json(nlohmann::json &j, RegularSpaceOptions &o)
nlohmann::json json
Definition: input.cpp:9