-
Declaration
Swift
let jsonDecoder: JSONDecoder
-
Declaration
Swift
init(_ decoder: JSONDecoder = JSONDecoder())
-
Declaration
Swift
func decode<Output>(_ type: Output.Type, from: Data) throws -> Output where Output : Decodable
-
Declaration
Swift
func decode<Output>(_ type: Output.Type, fromBodyOf req: Request) throws -> Output where Output : Decodable
-
Declaration
Swift
func validate<Output>(_ type: Output.Type, from: Data) throws -> ValidationError? where Output : Decodable
-
Declaration
Swift
func validate<Output>(_ type: Output.Type, fromBodyOf req: Request) throws -> ValidationError? where Output : Decodable