This is my Code
"type":{"0": { "label":"name", "required":false, "type":"String", }, "1": { "label":"email", "required":false, "type":"String", } }
In the above code I have Type
object which contains two nested objects. Now I want to convert that object to array of objects in the following format using angularjs.
OutPut should be like this:-
"type":[ { "label":"name", "required":false, "type":"String", }, { "label":"email", "required":false, "type":"String", } ]