public ObjectSerializerSettings()
 {
     ArrayFormat       = "{0}[{1}]";
     DictionaryFormat  = "{0}[{1}]";
     PropertyFormat    = "{0}.{1}";
     DateTimeFormat    = "s";
     PropertySeparator = '.';
     Formaters         = new ObjectSerializerFormaterManager();
     Culture           = CultureInfo.InvariantCulture;
     Encoding          = Encoding.UTF8;
 }
 public ObjectSerializerSettings()
 {
     ArrayFormat       = "{0}[{1}]";
     DictionaryFormat  = "{0}[{1}]";
     PropertyFormat    = "{0}.{1}";
     DateTimeFormat    = "s";
     BoolTrueFormat    = "true";
     BoolFalseFormat   = "false";
     PropertySeparator = '.';
     Formaters         = new ObjectSerializerFormaterManager();
     Culture           = CultureInfo.InvariantCulture;
     Encoding          = Encoding.UTF8;
     IncludeNullValues = false;
 }
Example #3
0
 public ObjectSerializerFormaterManager(ObjectSerializerFormaterManager src)
 {
     Formaters = new Dictionary <Type, IObjectSerializerFormater>(src.Formaters);
 }