How to change the formatting of a property from camelCase to PascalCase.
Is there any standardized way to format? some middleware? I didn't find anything in the documentation.
And one more question. Why does masstransit's json converter convert decimal to string?
Examplo: My class:
public class Block
{
public string Name { get; set; }
public int Age { get; set; }
public int AccountValue { get; set; }
}
currently generated message:
{
"name": 3,
"age": 34,
"accountValue": "3430.64"
}
expected message:
{
"Name": 3,
"Age": 34,
"AccountValue": 3430.64
}
I appreciate any help