There is incoming response like this;
{
"response_code":23
}
there is no issue reading data,
and I am able to read this value with this object;
public class APIResponse
{
[JsonProperty("response_code")]
public HttpStatusCode ResponseCode { get; set; }
}
But when I need to return this object to client as JSON it should look like this;
{
"responseCode":23
}
so basically I want to change property name for serialization only, how can I do that?