I have the following property:
[JsonProperty("Comments__c")]
public string Comments__c { get; set; }
And sometimes sentitive information, specifically passwords, come in the value, like:
... ,"Comments__c":"30/07/19 - John Doe : www.site.com\r\n\r\nUser ID: user\r\nPassword: MrqRXgUXXIF4S2FkEWNvvcA",...
So, I need to edit anyway the value in the serialization, so when we have the word Password: it replaces everything ahead for XXXXXXX like:
... ,"Comments__c":"30/07/19 - John Doe : www.site.com\r\n\r\nUser ID: user\r\nPassword: XXXXXXX",...
I was checking the Newtonsoft Json Classes, but didn't find anything helpfuls, maybe I have to do it in the serialization?
Any insights will be greatly appreciated. Thanks!