Json Dump in particular format : **I have a list of dictionary:**
[  
{  
  '_item_id1’:’0002',
  '_ticket_quantity1’:1,
  '_showtime_id':5635775   
},
{  
  '_item_id2’:’0001’,
  '_ticket_quantity2’:1,
   '_showtime_id':5635775    
}
]

**I want to do json.dumps in this format:**

data = json.dumps({
        'ticketTypes': [{
                'showtimeId': showtime_id,
                'id': item_id1,
                'quantity': ticket_quantity1
            },
	   {
                'showtimeId': showtime_id,
                'id': item_id2,
                'quantity': ticket_quantity2
           }]
    })