Yajl for JRuby?

Anyone know if there’s a yajl equivalent for JRuby (
http://lloyd.github.com/yajl/) – there’s one for Ruby (
GitHub - brianmario/yajl-ruby: A streaming JSON parsing and encoding library for Ruby (C bindings to yajl)). I’d love to use something like
yajl in JRuby for a cometd/bayeux project I’m working on.

Thanks!

Rich

A binding to YAJL specifically? None I know of. The best options I
know are the ones you know: the json-jruby gem and it’s ilk…

Why don’t these extension authors embrace the power and beauty of FFI?

On Fri, Oct 30, 2009 at 12:24 PM, Rich M.
[email protected] wrote:

Anyone know if there’s a yajl equivalent for JRuby
(http://lloyd.github.com/yajl/) – there’s one for Ruby
(GitHub - brianmario/yajl-ruby: A streaming JSON parsing and encoding library for Ruby (C bindings to yajl)). I’d love to use something like
yajl in JRuby for a cometd/bayeux project I’m working on.

Thanks!

Rich


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Good news from the yajl-ruby author:

I actually have an FFI branch I’ve been working on when I have time. The

goal is to have a fully 1:1 compatible version of the API working with FFI
instead of the C extension. JRuby is the primary target for that goal, but
it may even work better under Rubinius as well.

I have the parser mostly working under the FFI branch, but need to wrap up
a few things. Then I’ll get started on the encoder.

Rich

On Fri, Oct 30, 2009 at 1:37 PM, Charles Oliver N.

On Fri, Oct 30, 2009 at 5:35 PM, Rich M. [email protected]
wrote:

Good news from the yajl-ruby author:

I actually have an FFI branch I’ve been working on when I have time. The
goal is to have a fully 1:1 compatible version of the API working with FFI
instead of the C extension. JRuby is the primary target for that goal, but
it may even work better under Rubinius as well.

I have the parser mostly working under the FFI branch, but need to wrap up
a few things. Then I’ll get started on the encoder.

Well that’s good! For anyone who wants to use the library, it will be
available at least.

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email