Skip to content

AwesomeSerializer allows you to serialize properties depending on a particular controller using custom resolvers

Notifications You must be signed in to change notification settings

damianpumar/AwesomeSerializer

Repository files navigation

AwesomeSerializer

NuGet package:

PM> Install-Package AwesomeSerializer -Version 1.0.1

Usage

We have two controllers, ProductController and CategoryController.

Decorate your controller with:

[AwesomeSerializer.Serializers.AwesomeSerializer(typeof(YourCustomResolver))]

alt text alt text

AwesomeSerializer allows you to serialize properties depending on a particular controller using custom resolvers

alt text alt text

Results

Get api/product . return:

alt text

Get api/category . return:

alt text

Thanks!

About

AwesomeSerializer allows you to serialize properties depending on a particular controller using custom resolvers

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages