Smolgui
Immediate gui library based on SFML
Loading...
Searching...
No Matches
SerializeCore.h File Reference
#include <unordered_map>
#include <nlohmann/json.hpp>
#include "sgui/Core/ObjectPool.h"
Include dependency graph for SerializeCore.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  sgui

Functions

template<typename Key, typename Type>
void sgui::to_json (json &j, const std::unordered_map< Key, Type > &table)
template<typename Key, typename Type>
void sgui::from_json (const json &j, std::unordered_map< Key, Type > &table)
template<typename Object, typename ObjectId>
void sgui::to_json (json &j, const ObjectPool< Object, ObjectId > &pool)
template<typename Object, typename ObjectId>
void sgui::from_json (const json &j, ObjectPool< Object, ObjectId > &pool)