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

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

Detailed Description

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

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

The specialization should have a member function with the following signature:

void deserializeFrom(Reader& reader, T& value)
Stateful wrapper object of an input stream for JSON deserialization.
Definition json.hpp:5525

where T is the specialized template type parameter.

The implementation should read the input using the provided Reader.

Template Parameters
Tthe type that this deserializer deserializes.

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