Декодирование JSON и опционы
struct BlogPost: Decodable {
let title: String
/// Define a key as optional if it can be returned as `nil` or if it does not always exist in the JSON.
let subtitle: String?
}
ACS