Пример #1
0
        public IModelConfigurator SerializeDictionariesAsArrays()
        {
            SerializerSettings.Add(settings =>
            {
                settings.Converters.Add(new DictionaryAsArrayConverter());
            });

            return(this);
        }
Пример #2
0
 public IModelConfigurator Configure(Action <JsonSerializerSettings> settings)
 {
     SerializerSettings.Add(settings);
     return(this);
 }