Skip to content

Commit

Permalink
Do not use CamelCase property name resolver (#306)
Browse files Browse the repository at this point in the history
  • Loading branch information
varunpuranik authored Sep 18, 2018
1 parent 42625d8 commit a924608
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ namespace Microsoft.Azure.Devices.Edge.Agent.Core.Serde
using Microsoft.Azure.Devices.Edge.Util;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using Newtonsoft.Json.Serialization;

/// <summary>
/// SerDe for objects with types that depend on the "type" property
Expand All @@ -30,11 +29,10 @@ public TypeSpecificSerDe(IDictionary<Type, IDictionary<string, Type>> deserializ

this.jsonSerializerSettings = new JsonSerializerSettings
{
ContractResolver = new CamelCasePropertyNamesContractResolver(),
Converters = new List<JsonConverter>
{
new TypeSpecificJsonConverter(deserializerTypesMap)
},
}
};
}

Expand Down

0 comments on commit a924608

Please sign in to comment.