I am using AngularJS
How to update the "name" and "gender" in this JSON object:
{ name: "John", gender: "male", status: "single", createdBy: "Andrew" }
With this "name" and "gender" in this JSON object:
{ name: "Anna", gender: "Female"}
The updated JSON object will be this:
{ name: "Anna", gender: "Female", status: "single", createdBy: "Andrew" }
Hoping for an informative response. Thank you!