You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to this issue and this commit I found, where you can overwrite the HTMLRender method to support custom template engines...
It would be useful to overwrite the JSONRender method so the functionality of the JSON marshaller can be customized for all responses written using c.JSON(). The only alternative is to implement json.Marshaler on each struct type, but I have a lot of response types.
Curious to know if this would be a supported effort, I'm happy to look into implementing this
The text was updated successfully, but these errors were encountered:
Description
Similar to this issue and this commit I found, where you can overwrite the
HTMLRender
method to support custom template engines...It would be useful to overwrite the
JSONRender
method so the functionality of the JSON marshaller can be customized for all responses written usingc.JSON()
. The only alternative is to implementjson.Marshaler
on each struct type, but I have a lot of response types.Curious to know if this would be a supported effort, I'm happy to look into implementing this
The text was updated successfully, but these errors were encountered: