blob: 20b50537cf782e4f6641d242ac238f96bf27507a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#pragma once
#include <nlohmann/json_fwd.hpp>
namespace floormat {
struct ground_def;
struct ground_cell;
class ground_atlas;
} // namespace floormat
namespace nlohmann {
template<>
struct adl_serializer<floormat::ground_def> final {
static void to_json(json& j, const floormat::ground_def& x);
static void from_json(const json& j, floormat::ground_def& x);
};
template<>
struct adl_serializer<std::shared_ptr<floormat::ground_atlas>> final {
static void to_json(json& j, const std::shared_ptr<const floormat::ground_atlas>& x);
static void from_json(const json& j, std::shared_ptr<floormat::ground_atlas>& x);
};
template<>
struct adl_serializer<floormat::ground_cell> final {
static void to_json(json& j, const floormat::ground_cell& x);
static void from_json(const json& j, floormat::ground_cell& x);
};
} // namespace nlohmann
|