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
Fixnum already has an implementation of the to_json method via its superclass Integer.
I cannot reproduce your problem. Can you provide more information like json and ruby versions, platforms, etc., and the value of JSON.state ? Does the problem crop up, if you only require json or do you need to require anything else?
I solved the problem implementing:
lib/json/pure/generator.rb:413
The text was updated successfully, but these errors were encountered: