title: How to create JSON formatted string from multiple lists in python?
body: <p>I have 3 lists,</p>
  
  <pre><code>city_id = [1,2,3]
  city_name = ['a','b','c']
  city_capital = ['x','y','z']
  </code></pre>
  
  <p>How to combine the above three lists into a json in the below format without iterating over by myself. Is there any library function available in python to get the job done?</p>
  
  <pre><code>[
      {
          'city_id': 1,
          'city_name': 'a',
          'city_capital': 'x'
      },
      {
          'city_id': 2,
          'city_name': 'b',
          'city_capital': 'y'
      },
      {
          'city_id': 3,
          'city_name': 'c',
          'city_capital': 'z'
      }
  ]
  </code></pre>