Looks like, JsonPatchDocument's ApplyTo takes the serialization settings from JsonConvert.DefaultSettings. There should be a way to pass custome JsonSerializerSettings to th library so ApplyTo can user specific settings such as customized JsonConverters.
Is there a way to do so?
CurrentSolution:
JsonConvert.DefaultSettings = () => JsonSerializerSettings; patchDoc.ApplyTo(obj); Ideally I shouldn't need to override the global serializer settings. Is there a way to do so?
JsonPatchDocument(List<Operation>, IContractResolver)constructor that allows you to pass in a contract resolver. Maybe that will be sufficient to meet your needs.