Template Struct JsonReader

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)