Hi! We have string converter which trims string values and replaces empty strings with null. When JsonPatchDocumentConverter reads string values (specifically from value fields), it just uses val = reader.GetString(), so it ignores any string converters added to default JsonSerializerOptions. Is it possible to change value reading logic to just val = JsonSerializer.Deserialize<object>(ref reader); instead of this and this switch statements, to allow other converters to process values? Thanks!
Hi! We have string converter which trims string values and replaces empty strings with
null. WhenJsonPatchDocumentConverterreads string values (specifically fromvaluefields), it just usesval = reader.GetString(), so it ignores any string converters added to defaultJsonSerializerOptions. Is it possible to change value reading logic to justval = JsonSerializer.Deserialize<object>(ref reader);instead of this and this switch statements, to allow other converters to process values? Thanks!