Am Montag, 30. Juni 2014 22:16:32 UTC+2 schrieb sri: > > use Math::BigFloat; >> use Math::BigInt; >> > > Send patches for those modules and add TO_JSON methods. ;) >
The most elegant solution would be to update Mojo::JSON, the easiest to modify the modules of my own application. So I'll probably subclass Math::BigFloat, add a TO_JSON method that calls ->bstr (thanks to Gabriel for the tip) and use this instead of Math::BigFloat. -- You received this message because you are subscribed to the Google Groups "Mojolicious" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/mojolicious. For more options, visit https://groups.google.com/d/optout.
