hassanhabib / RESTFulSense

A RESTFul operations client that serializes responses and throws meaningful exceptions for >= 400 status codes.
https://www.restfulsense.com
237 stars 51 forks source link

FEATURE: Add support for injecting a serialization/deserialization Func #153

Open LBoullosa opened 9 months ago

LBoullosa commented 9 months ago

As current RESTFulSense version uses NewtonSoft, there are some scenarios in our applications which

This feature allows us to take care about the serialization/deserialization process from outside the library.

This solution is a workaround to deal with different serializations libraries allowing the power and true value of RestFulSense to be used regardless of the serializer you want to use.

A better approach would be to implement SPAL inside RESTFulSense and add as many serialization implementations we need as new packages.