libdonut
2.3.2
Application framework for cross-platform game development in C++20
|
Base template to specialize in order to implement JSON serialization for a specific type. More...
#include <donut/json.hpp>
Public Member Functions | |
void | serialize (Writer &writer, const T &value) |
Base template to specialize in order to implement JSON serialization for a specific type.
The specialization should have a member function with one of the following signatures:
where T is the specialized template type parameter.
The implementation should write the output using the provided Writer.
T | the type that this serializer serializes. |
|
inline |