Template Struct JsonReader
Defined in File json_reader.hpp
Struct Documentation
-
template<class T>
struct JsonReader Parses + validates a JSON object into a DTO. Collects every error.
Public Static Functions
-
static inline tl::expected<T, std::vector<FieldError>> read(const nlohmann::json &j)
-
static inline tl::expected<T, std::vector<FieldError>> read(const nlohmann::json &j)