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
I'm using yesod-core-1.4.20.2 and also aeson 0.11. I migrated my code to aeson's new ToJSON.toEncoding() function and realized that Yesod.Core.Json.provideJson() uses toJSON() directly.
I'm using yesod-core-1.4.20.2 and also aeson 0.11. I migrated my code to aeson's new
ToJSON.toEncoding()
function and realized thatYesod.Core.Json.provideJson()
usestoJSON()
directly.I "unlocked" the speed-up by calling
encode
(which usestoEncoding
) directly.Is there a better way to do that?
Do you plan to support
toEncoding
in the future (I can imagine that there are other places as well)?The text was updated successfully, but these errors were encountered: