Could you please tell whether this is correct or wrong.
{{Id: "1", Name: "John"}, {Id: "2", Name: "BOB"}} --- > In doubt. Please confirm.
I always see formats like following placed in array. But can we also place the same in Object like above.
[{Id: "1", Name: "John"}, {Id: "2", Name: "BOB"}] --- > This is correct