You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know I can store all three values in a single flat Channel structure given what's in the Readme, but is there any advanced way to cause this deeper structuring, putting the elements prefixed with iTunes: into the nested iTunes struct?
Right now my flattened version looks like this:
structChannel:Codable{lettitle:StringletitunesSummary:String?letitunesAuthor:String?enumCodingKeys:String,CodingKey{case title
case itunesSummary ="itunes:summary"case itunesAuthor ="itunes:author"}}
The text was updated successfully, but these errors were encountered:
say I have this xml:
which is a stripped down example from the real world of parsing Podcast RSS Feeds :)
It'd be great if I could decode that into something like:
I know I can store all three values in a single flat
Channel
structure given what's in the Readme, but is there any advanced way to cause this deeper structuring, putting the elements prefixed withiTunes:
into the nestediTunes
struct?Right now my flattened version looks like this:
The text was updated successfully, but these errors were encountered: