-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Custom marshalers 🚀 #1232
Comments
Thanks for opening your first issue here! 🎉 Be sure to follow the issue template! If you need help or want to chat with us, join us on Discord https://gofiber.io/discord |
Thx for the report, You mean something like that? |
Oh, I'm so sorry, forgot about this thing. @ReneWerner87, yeah, I mean exactly this but for Unmarshaling. |
Hope this issue will be reopened 😞 |
Thanks. |
@FedorLap2006 I think we are talking about a JSONDecoder utils.JSONUnmarshal `json:"-"` feature for |
Well, yeah |
Is your feature request related to a problem?
Yes, it kinda is. In my case, internal marshalers is not the best ones, so I went into docs trying to find some configuration for those, but I couldn't, that's why I went here.
Describe the solution you'd like
An ability to switch marshalers for MIME types. See
grpc-gateway
's API, it's very comfortable one.Describe alternatives you've considered
There's no alternative. Sometimes we really need to use custom marshaler. You can improve internal/external marshalers, but there must be some room for customization, because they doesn't fit so good in some situations.
Additional context
This is feature/question issue.
The text was updated successfully, but these errors were encountered: