We are hitting this bug sporadically.
http://jira.codehaus.org/browse/JRUBY-5072
And we just started getting this error, haven’t had a chance to dig into
it yet.
undefined method `merge’ for #JSON::Ext::Generator::State:0x106135658
Was curious if anyone has had success with java json libraries, or
other alternative ruby libraries that work under jruby?
Chris
On Wed, Nov 9, 2011 at 12:07 AM, snacktime [email protected] wrote:
Was curious if anyone has had success with java json libraries, or
other alternative ruby libraries that work under jruby?
How about json_pure ?
On Wed, Nov 9, 2011 at 12:07 AM, snacktime [email protected] wrote:
Chris
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
I spent quite a lot of time putting a ruby wrapper around the Jackson
Json processor.
It is nearly twice as fast as the Ruby Json gem but only if you are
happy receiving a java Hashmap instead of a Ruby Hash. The library
offers a means to get a Ruby Hash back but this slows down to roughly
the same speed as the Json gem. But with Jruby 1.6 the HashMap pretty
much quacks like a Ruby Hash so it might be OK.
I have not put much love into the library of late so it does not use
the Jackson 1.9 release.
In my experience if you are processing plenty of json messages from
say RabbitMQ then you will see a speed improvement by using jrjackson.
HTH
Guy