Browse Source

Content not saved #18

pull/65/head
Sebastian Stehle 9 years ago
parent
commit
83942e1b27
  1. 9
      src/Squidex.Infrastructure/Json/ConverterContractResolver.cs

9
src/Squidex.Infrastructure/Json/ConverterContractResolver.cs

@ -21,6 +21,15 @@ namespace Squidex.Infrastructure.Json
this.converters = converters;
}
protected override JsonDictionaryContract CreateDictionaryContract(Type objectType)
{
var contract = base.CreateDictionaryContract(objectType);
contract.DictionaryKeyResolver = propertyName => propertyName;
return contract;
}
protected override JsonConverter ResolveContractConverter(Type objectType)
{
var result = base.ResolveContractConverter(objectType);

Loading…
Cancel
Save