Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LBoullosa opened this issue Jan 13, 2024 · 0 comments
Open

Comments

@LBoullosa
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant