I have two objects and I wanted to create an array this way = >
[{"loj_codigo":2,"loj_fantasia":"teste 1"},{"loj_codigo":1,"loj_fantasia":"teste 2";}]}
I'm getting the following objects = >
Object {1: "1", 2: "2"}
Object {1: "teste 1", 2: "teste 2"}