diff options
Diffstat (limited to 'serialize/tile-atlas.hpp')
-rw-r--r-- | serialize/tile-atlas.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/serialize/tile-atlas.hpp b/serialize/tile-atlas.hpp new file mode 100644 index 00000000..af279251 --- /dev/null +++ b/serialize/tile-atlas.hpp @@ -0,0 +1,27 @@ +#pragma once +#include "../tile-atlas.hpp" +#include <nlohmann/json.hpp> + +namespace nlohmann { + +template<> +struct adl_serializer<Magnum::Examples::tile_atlas> final { + static void to_json(json& j, const Magnum::Examples::tile_atlas& x); + static void from_json(const json& j, Magnum::Examples::tile_atlas& x); +}; + +void adl_serializer<Magnum::Examples::tile_atlas>::to_json(json& j, const Magnum::Examples::tile_atlas& x) +{ +} + +void adl_serializer<Magnum::Examples::tile_atlas>::from_json(const json& j, Magnum::Examples::tile_atlas& x) +{ +} + +} // namespace nlohmann + +namespace Magnum::Examples::Serialize { + + + +} // namespace Magnum::Examples::Serialize |