This is json string {"firstName":"John" ,"lastName":"Doe" }. I would like to convert json string to object with custom name in angular.This is c# code.
public class Example
{ 
    [JsonProperty("firstName")]
    public string FName { get; set; }
    [JsonProperty("lastName")]
    public string LName { get; set; }
}