Whenever I return an object as a result of a Hangfire job the object is serialized into JSON but always contains escape characters making the output look quite hard to read.
I have also tried returning a string after serializing myself but its the same.
For example if I return the following object from a job
var person = new Person
{
Name = "john",
Description = "male",
Role = "manager"
};
The output will look like this on the dashboard for the job instance.
Result: "{\"Name\":\"john\",\"Description\":\"male\",\"Role\":\"manager\"}"
Is there anyway to tell hangfire to not display escape characters in the result field. It would be nice to have new lines when viewing json output.