If I print authreq_data to screen  I get

{"req": {"username": "######", "password": "#####", "productType": "CFD_Demo"}}

Essentially I want the inner brackets to be  [ ] instead of {} but alternating 
on each level so it would be:

{"req": [{"username": "######", "password": "#####", "productType": 
"CFD_Demo"}]}

as per usual json.

A
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to