title: Retrofit Android API Get without nested array
body: <p>This is my first android project (I'm a php developer) but i'm struggling to see how to take this example which uses a nested structure under <code>data</code> for the json array whereas my data is not double nested like this example.</p>
  <p>The excample code I am trying to modify is from here <a href="https://github.com/datanapps/RetrofitKotlin" rel="nofollow noreferrer">https://github.com/datanapps/RetrofitKotlin</a> and the key differences in the json are todo with the nesting.</p>
  <p>Original</p>
  <pre><code>{
    &quot;page&quot;: 1,
    &quot;per_page&quot;: 6,
    &quot;total&quot;: 12,
    &quot;total_pages&quot;: 2,
    &quot;data&quot;: [
      {
        &quot;id&quot;: 1,
        &quot;email&quot;: &quot;george.bluth@reqres.in&quot;,
        &quot;first_name&quot;: &quot;George&quot;,
        &quot;last_name&quot;: &quot;Bluth&quot;,
        &quot;avatar&quot;: &quot;https://reqres.in/img/faces/1-image.jpg&quot;
      },
      {
        &quot;id&quot;: 2,
        &quot;email&quot;: &quot;james.smith@reqres.in&quot;,
        &quot;first_name&quot;: &quot;James&quot;,
        &quot;last_name&quot;: &quot;Smith&quot;,
        &quot;avatar&quot;: &quot;https://reqres.in/img/faces/1-image.jpg&quot;
      }
    ]
  }
  </code></pre>
  <p>whereas mine is simply</p>
  <pre><code>[
    {
      &quot;_id&quot;: &quot;62f4cb4e131d9d00046a1b9c&quot;,
      &quot;device&quot;: &quot;AndroidAPS-DexcomG6&quot;,
      &quot;date&quot;: 1660209967000,
      &quot;dateString&quot;: &quot;2022-08-11T09:26:07.000Z&quot;,
      &quot;isValid&quot;: true,
      &quot;sgv&quot;: 133,
      &quot;direction&quot;: &quot;Flat&quot;,
      &quot;type&quot;: &quot;sgv&quot;,
      &quot;created_at&quot;: &quot;2022-08-11T09:26:38.326Z&quot;,
      &quot;mills&quot;: 1660209998326
    },
    {
      &quot;_id&quot;: &quot;62f4cb4e131d9d00046a1b9c&quot;,
      &quot;device&quot;: &quot;AndroidAPS-DexcomG6&quot;,
      &quot;date&quot;: 1660209967000,
      &quot;dateString&quot;: &quot;2022-08-11T09:26:07.000Z&quot;,
      &quot;isValid&quot;: true,
      &quot;sgv&quot;: 133,
      &quot;direction&quot;: &quot;Flat&quot;,
      &quot;type&quot;: &quot;sgv&quot;,
      &quot;created_at&quot;: &quot;2022-08-11T09:26:38.326Z&quot;,
      &quot;mills&quot;: 1660209998326
    }
  ]
  </code></pre>
  <p>Specifically I want to query the SGV values, direction and date</p>
  <p>Thanks</p>