title: Pydantic: how to parse non dict objects
body: <p>The following data is input</p>
  <pre class="lang-py prettyprint-override"><code>data = {
      'campaigns': [
          {
              'title': 'GBP',
              'geo_segment': 'WW',
              'ac_type': 'Value',
              'conversion': 'soft',
              'asset_type': 'ALL',
              'date': '22.04.21',
              'name': 'GBP_WW_1_core_22.04.21',
              'budget': '2000',
              'cpa': '1,00'
          }
      ],
      'stages': [
          'pre',
          'post'
      ],
      'language_mode': 'all_en'
  }
  </code></pre>
  <p>To parse <code>campaigns</code>, I use the <code>parse_obj()</code> method</p>
  <pre class="lang-py prettyprint-override"><code>campaigns = parse_obj_as(List[CampaignData], data['campaigns'])
  
  class CampaignData(BaseModel):
      title: NonEmptyString
      geo_segment: NonEmptyString
      ......
  </code></pre>
  <p>It works.</p>
  <p>How to validate the rest of the data (<code>stages</code>: <code>List</code>, <code>language_mode</code>: <code>str</code>), which is not of type <code>dict</code>?</p>
  <pre class="lang-py prettyprint-override"><code>class GoogleCheckCampaignStages(BaseModel):
      stages: List[str]
          
      
  class GoogleCheckLanguageMode(BaseModel):
      language_mode: str
  </code></pre>
  <p>If I run</p>
  <pre class="lang-py prettyprint-override"><code>stages = parse_obj_as(List[GoogleCheckCampaignStages], data['stages'])
  </code></pre>
  <p>returns</p>
  <pre class="lang-none prettyprint-override"><code>value is not a valid dict (type=type_error.dict)
  </code></pre>
  <p>Same result with <code>data['language_mode']</code>.</p>
  <p>If I try with <code>parse_raw_as()</code> method</p>
  <pre class="lang-py prettyprint-override"><code>parse_raw_as(GoogleCheckLanguageMode, data['language_mode'])
  </code></pre>
  <p>returns</p>
  <pre class="lang-none prettyprint-override"><code>json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
  </code></pre>
  <p>So how to parse <code>str</code> and <code>list</code> values?</p>