Skip to content
This repository was archived by the owner on Feb 21, 2025. It is now read-only.

spritely/Configuration.Json

Repository files navigation

No longer maintained as a separate repository. It is now a recipe. See: https://github.com/spritely/Recipes/blob/master/Recipes/JsonConfiguration.cs

Spritely.Configuration.Json

This is a simple project for harmonizing JSON settings. Specifically this is json.net serializer settings set to do camel cased properties, enumerations, and the ability to deserialize SecureString types as well. To use include the reference:

using Spritely.Configuration.Json;

Then use json.net's JsonConvert while passing in Json.SerializerSettings.

  var myObject = JsonConvert.DeserializeObject<MyObject>(serializedValue, Json.SerializerSettings);

  var serialized = JsonConvert.SerializeObject(myObject, Json.SerializerSettings);

That's it.

About

Common Json configuration settings (no longer maintained)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages