If I map a dictionary with string keys to another, and I have the TypeAdapterConfig.GlobalSettings.Default.NameMatchingStrategy(NameMatchingStrategy.Flexible); setting, it's converting the dictionary keys to Title case.
I can stop is doing this by using: NameMatchingStrategy.Exact setting instead.
I find this behaviour odd, It's not matching properties, when it's mapping dictionary keys, so why swap the case around in the first place?
If I map a dictionary with string keys to another, and I have the
TypeAdapterConfig.GlobalSettings.Default.NameMatchingStrategy(NameMatchingStrategy.Flexible);
setting, it's converting the dictionary keys to Title case. I can stop is doing this by using:NameMatchingStrategy.Exact
setting instead.I find this behaviour odd, It's not matching properties, when it's mapping dictionary keys, so why swap the case around in the first place?