title: aiohttp post json parameter error: byte indices must be integers or slices, not str
body: <pre><code>query = {
              &quot;maxResults&quot;: 2,
              &quot;criteria&quot;: {
              &quot;sinceDate&quot;: [
              2022,
              1,
              3
              ],
              &quot;untilDate&quot;: [
              2022,
              3,
              31
          ],
          &quot;allOfTheseWords&quot;: [],
          &quot;anyOfTheseWords&quot;: [
          ],
          &quot;noneOfTheseWords&quot;: [],
          &quot;theseHashtags&quot;: [],
          &quot;fromTheseAccounts&quot;: [],
          &quot;toTheseAccounts&quot;: [],
          &quot;mentioningTheseAccounts&quot;: [],
          &quot;language&quot;: &quot;tr&quot;,
          &quot;filterReplies&quot;: True,
          &quot;filterLinks&quot;: False
          }
          }
      query_json = json.dumps(query)
      #print(query_json)
      try:
          async with session.post(&quot;xxx&quot;, json = query_json) as response:
              resp = await response.read()
  </code></pre>