Last active
October 21, 2017 09:33
-
-
Save lloydjatkinson/f36cd2290838eba743a2b456c868eeb8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class SerializationSettings | |
{ | |
public static JsonSerializerSettings Json { get; } = new JsonSerializerSettings() | |
{ | |
ContractResolver = new CamelCasePropertyNamesContractResolver(), | |
Formatting = Newtonsoft.Json.Formatting.Indented | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sane settings for Newtonsoft.Json to allow for normal JSON/Javascript conventions.