Closed JK0369 closed 2 years ago
Add extension for JSONDecoder and JSONEncoder,
to use Then for JSONDecoder & JSONEncoder like below.
let decoder = JSONDecoder().then { $0.keyDecodingStrategy = .convertFromSnakeCase }
Add extension for JSONDecoder and JSONEncoder,
to use Then for JSONDecoder & JSONEncoder like below.