Wildmeshing Toolkit
nlohmann::adl_serializer< std::filesystem::path > Struct Reference

JSON serialization of std::filesystem::path. More...

#include <json_utils.hpp>

Static Public Member Functions

static void to_json (json &j, const std::filesystem::path &p)
 
static void from_json (const json &j, std::filesystem::path &p)
 

Detailed Description

JSON serialization of std::filesystem::path.

Include this file if you need to serialize a path from or to JSON.

Definition at line 12 of file json_utils.hpp.

Member Function Documentation

◆ from_json()

void nlohmann::adl_serializer< std::filesystem::path >::from_json ( const json j,
std::filesystem::path &  p 
)
static

Definition at line 10 of file json_utils.cpp.

◆ to_json()

void nlohmann::adl_serializer< std::filesystem::path >::to_json ( json j,
const std::filesystem::path &  p 
)
static

Definition at line 5 of file json_utils.cpp.


The documentation for this struct was generated from the following files: