Decoding YAML files to import into CoreData for SwiftUI app

I'm used to dealing with JSON files and know how to decode them and import the data into CoreData for my SwiftUI app but I haven't seen any examples of doing this with YAML files. Does anyone have a good example they can share or are there no options for importing YAML?

I know I can convert YAML into JSON but I was looking for a method to avoid this step as the data I need is now stored in YAML format and I would prefer to import it with fewer steps and without the conversion. Thanks.

Decoding YAML files to import into CoreData for SwiftUI app
 
 
Q