title: Error: "Required value 'networkOffers' missing at $" For Android
body: <p>I keep getting this Error call
  <a href="https://i.stack.imgur.com/gEXI4.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/gEXI4.jpg" alt="enter image description here" /></a></p>
  <p>Yet I'm not sure where to look to fix it. I have a raw JSON file in my Res Folder under the directory &quot;Raw&quot;
  <a href="https://i.stack.imgur.com/3kaRC.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/3kaRC.jpg" alt="enter image description here" /></a></p>
  <p>The Error is coming at my Repository</p>
  <pre><code>class C51Repository {
  
  
      private val moshi = Moshi.Builder().add(KotlinJsonAdapterFactory()).build()
  
  
      suspend fun getAllOffers(context: Context): List&lt;Offer&gt; {
          delay(2_000)
  
          val json = context.resources.openRawResource(R.raw.c51).bufferedReader().use {
              it.readText()
          }
  
          val offerList = moshi.adapter(C51::class.java).fromJson(json) //&lt;- RIGHT HERE
          return offerList!!.networkOffers.map {
              Offer(
                  cash_back = it.cash_back,
                  image_url = it.image_url,
                  name = it.name,
                  offer_id = it.offer_id
              )
          }
      }
  
  
  
  }
  </code></pre>
  <p>Here's the JSON file
  <a href="https://i.stack.imgur.com/anCe2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/anCe2.jpg" alt="enter image description here" /></a></p>
  <p>Any Help is appreciated, Thanks.</p>
  <p>P.S. I read that it could be a Moshi bug, but I don't know how to go about fixing the bug.</p>