Skip to content

Library which enables JSON Serialization to be "fuzzied"

Notifications You must be signed in to change notification settings

stu-mck/PageUp.FuzzySerializer

Repository files navigation

PageUp.Fuzzy Build Status

https://www.abhayachauhan.com/2017/10/fuzzy-serializer/

This library can be plugged into the MvcPipeline which enables you to "Fuzzy" the Json response on API calls.

PageUp.FuzzySerializer is a ContractResolver for Newtonsoft.Json.

Get Started

Set up FuzzyObjectContractResolver in the Configure method on your Startup file.

public IServiceProvider ConfigureServices(IServiceCollection services)
{
  services.AddMvc().AddJsonOptions(options =>
  {
      options.SerializerSettings.ContractResolver = new FuzzyObjectContractResolver(new FuzzyObjectContractResolverSettings());
  });
}

Publishing the Package

The package is hosted in NuGet. Currently, the package version has to be incremented manually, and the package manually uploaded to NuGet gallery.

About

Library which enables JSON Serialization to be "fuzzied"

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published