Json transferred in javascript

jsonData = 
        {
            "a":{
                "b":{
                    "c":"d"
                    ,"e":"f"
                }
                ,"g":{
                    "h":"i"
                    ,"j":"k"
                    ,"m":"n"
                }
                ,"l":{
                    "o":"p"
                    ,"q":"r"
                }
            }
        }
}

How do you create an array starting with a with JavaScript and transfer it to the jsondata function?