I have the following javascript object being returned from a WCF call, this has been serialized from a dictionary object, which removed the Key/Value properties
Object { 7="XXX", 9="YYY" }
I want to convert this javascript in to the following array, with result being
[Object { Key=7, Value="XXX"}, Object { Key=9, Value="YYY"}]
I am working with the jquery client side library.
Anyone know how I can convert the object to an array of objects with Key/Value properties?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…