Closed maksymst closed 9 years ago
I would have expected an undefined method error. JSON is the module name. I see that the JSON lib does treat it as a method as well though. Let me look into it.
Just checked in version 2.12.8 that adds the JSON method when mimic_JSON is called.
Hello @ohler55
I updated oj
to new version but I still have same error
I see, if the son gem is not loaded Oj works fine. With the json gem loaded first there is a problem. I'll see what I can do.
Ok, another attempt in github. Please give it a try.
Have you retested on the latest?
Release 2.12.9 made. Tests passed for me. No response on this issue. Closing.
Hello Oj.mimic_JSON produces arguments error. See below
Ruby 2.2.0, Oj 2.12.7
Thank you