GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
grem::json::Serializer< T > Struct Template Reference

Base template to specialize in order to implement JSON serialization for a specific type. More...

Detailed Description

template<typename T>
struct grem::json::Serializer< T >

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:

void serializeTo(Writer& writer, const T& value)
void serializeTo(Writer& writer, T value)
Stateful wrapper object of an output stream for JSON serialization.
Definition json.hpp:4925

where T is the specialized template type parameter.

The implementation should write the output using the provided Writer.

Template Parameters
Tthe type that this serializer serializes.

The documentation for this struct was generated from the following file: