title: How can I retrieve a JSON property that has a dash in its name in Swift?
body: <p>I've just come across a problem in Swift that I haven't found a solution for:
  When you decode JSON data (from an API) in Swift, you have to decode it using JSONDecoder, but this forces me to name my variable name exactly like the JSON property that I want to retrieve - the problem is, that the JSON-property's name has a dash in it (&quot;saturated-fat_100g&quot;). Of course, I can't call my variable like that due to the dash. Is there any workaround to this issue?</p>
  <p><a href="https://i.stack.imgur.com/9zvBI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9zvBI.png" alt="I want to retrieve the JSON property called saturated-fat_100g" /></a></p>