blob: 48d97451306dea13eab28f6fbd2850ad4b8c3c52 (
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
|
#pragma once
#include "src/anim.hpp"
#include <nlohmann/json_fwd.hpp>
namespace nlohmann {
template<>
struct adl_serializer<floormat::anim_frame> {
static void to_json(json& j, const floormat::anim_frame& val);
static void from_json(const json& j, floormat::anim_frame& val);
};
template<>
struct adl_serializer<floormat::anim_group> {
static void to_json(json& j, const floormat::anim_group& val);
static void from_json(const json& j, floormat::anim_group& val);
};
template<>
struct adl_serializer<floormat::anim_def> {
static void to_json(json& j, const floormat::anim_def& val);
static void from_json(const json& j, floormat::anim_def& val);
};
} // namespace nlohmann
|