Using Newton.Json for Json Serializing.
What JsonSerializerSettings to apply ,when I have to Json serialize an object with property as Byte array ,and then to display byte array in Hex format..
For eg
class A
{
public int X {get;set;}
public byte[] Y {get;set;}
}
When I serialize A to json , I do not get value for Y as i have set … Output for byte[] should be in hex
1 Answer