title: Get multiple strings from JSON
body: <p>So the JSON variable <code>let json = JSON(nearbyChargingSites.jsonString!)</code> contains the current data.:</p>
  <pre><code>{
    &quot;timestamp&quot; : 1626902257093,
    &quot;superchargers&quot; : [
      {
        &quot;location&quot; : {
          &quot;lat&quot; : 63.325319,
          &quot;long&quot; : 10.305137
        },
        &quot;total_stalls&quot; : 19,
        &quot;distance_miles&quot; : 10.064082000000001,
        &quot;type&quot; : &quot;supercharger&quot;,
        &quot;site_closed&quot; : false,
        &quot;available_stalls&quot; : 15,
        &quot;name&quot; : &quot;Leinstrand, Norway - Klett&quot;
      },
      {
        &quot;location&quot; : {
          &quot;lat&quot; : 63.466445999999998,
          &quot;long&quot; : 10.91766
        },
        &quot;total_stalls&quot; : 16,
        &quot;distance_miles&quot; : 11.838984999999999,
        &quot;type&quot; : &quot;supercharger&quot;,
        &quot;site_closed&quot; : false,
        &quot;available_stalls&quot; : 16,
        &quot;name&quot; : &quot;Stjørdal, Norway&quot;
      },
      {
        &quot;location&quot; : {
          &quot;lat&quot; : 63.734355000000001,
          &quot;long&quot; : 11.281487
        },
        &quot;total_stalls&quot; : 12,
        &quot;distance_miles&quot; : 31.206503999999999,
        &quot;type&quot; : &quot;supercharger&quot;,
        &quot;site_closed&quot; : false,
        &quot;available_stalls&quot; : 11,
        &quot;name&quot; : &quot;Levanger, Norway&quot;
      },
      {
        &quot;location&quot; : {
          &quot;lat&quot; : 62.832030000000003,
          &quot;long&quot; : 10.009639999999999
        },
        &quot;total_stalls&quot; : 20,
        &quot;distance_miles&quot; : 44.117753,
        &quot;type&quot; : &quot;supercharger&quot;,
        &quot;site_closed&quot; : false,
        &quot;available_stalls&quot; : 17,
        &quot;name&quot; : &quot;Berkåk, Norway&quot;
      }
    ],
    &quot;congestion_sync_time_utc_secs&quot; : 1626902199,
    &quot;destination_charging&quot; : [
      {
        &quot;distance_miles&quot; : 23.366278999999999,
        &quot;name&quot; : &quot;Bårdshaug Herregård&quot;,
        &quot;location&quot; : {
          &quot;lat&quot; : 63.299208,
          &quot;long&quot; : 9.8448650000000004
        },
        &quot;type&quot; : &quot;destination&quot;
      },
      {
        &quot;distance_miles&quot; : 38.390034,
        &quot;name&quot; : &quot;Fosen Fjordhotel&quot;,
        &quot;location&quot; : {
          &quot;lat&quot; : 63.959356999999997,
          &quot;long&quot; : 10.223908
        },
        &quot;type&quot; : &quot;destination&quot;
      },
      {
        &quot;distance_miles&quot; : 46.220022999999998,
        &quot;name&quot; : &quot;Falksenteret&quot;,
        &quot;location&quot; : {
          &quot;lat&quot; : 63.293301999999997,
          &quot;long&quot; : 9.0834460000000004
        },
        &quot;type&quot; : &quot;destination&quot;
      },
      {
        &quot;distance_miles&quot; : 54.981445000000001,
        &quot;name&quot; : &quot;Væktarstua&quot;,
        &quot;location&quot; : {
          &quot;lat&quot; : 62.908683000000003,
          &quot;long&quot; : 11.893306000000001
        },
        &quot;type&quot; : &quot;destination&quot;
      }
    ]
  }
  </code></pre>
  <p>I use <code>SwiftyJSON</code> and tries to get the superchargers latitude, longitude and name, like this:</p>
  <pre><code>let jsonName = json[&quot;superchargers&quot;][&quot;name&quot;]
  let jsonLat = json[&quot;superchargers&quot;][&quot;location&quot;][&quot;lat&quot;]
  let jsonLong = json[&quot;superchargers&quot;][&quot;location&quot;][&quot;long&quot;]
              
  </code></pre>
  <p>When trying to print any of those, all of them return <code>nil</code>.</p>
  <p>Any ideas what I am doing wrong, and how to do this?</p>
  <p>The reason I want to do this is because I want to add them as <code>annotation</code> to a <code>MKMapView</code>.</p>