RESTFulSense icon indicating copy to clipboard operation
RESTFulSense copied to clipboard

FEATURE: Add support for injecting a serialization/deserialization Func

Open LBoullosa opened this issue 1 year ago • 0 comments

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

  • doesn´t uses NewtonSoft, so no model annotations based on NewtonSoft,
  • there is no way to specify custom JsonSerialization settings (NewtonSoft or System.Text).
  • there is no way to use any other serialization library.

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.

LBoullosa avatar Jan 13 '24 12:01 LBoullosa