[{" a ": 1," b ", 2}, {" a ": 1," b ", 2}, {" a ": 1," b ", 2},]
Now I want to need addition this
[{" a ": 1," b ": 2," C ": 3}, {" a" : 1, "b" : 2, "C" : 3}, {" a ": 1," b ": 2," C ": 3}]
How to add, please people
CodePudding user response:
The array of objects projected onto the new collection
Var Jarray=[{" a ": 1," b ", 2}, {" a ": 1," b ", 2}, {" a ": 1," b ", 2},];
Var T=Jarray. Select (a=& gt; New {a.a, a., c=3}) tolist ();