I have an employee's data in json file as shown below, and I need to retrive just the first and last name attributes from this JSON file using C#, How can I read this json file contents in C#?
[
{
“FirstName” = “khaled”,
“LastName” = “alomar”,
“Age” = 30
},
{
“FirstName” = “Mohammed”,
“LastName” = “saleh”,
“Age” = 35
},
{
“FirstName” = “Fatima”,
“LastName” = “Nasser”,
“Age” = 26
}
]