Sha256: 75c8afb473223b9b616ea429c9f4cff6a085193cf4679e895e83d9c2deb01712
Contents?: true
Size: 845 Bytes
Versions: 102
Compression:
Stored size: 845 Bytes
Contents
package com.jrjackson; import org.jruby.Ruby; import org.jruby.RubyClass; import org.jruby.anno.JRubyMethod; import org.jruby.anno.JRubyModule; import org.jruby.runtime.ThreadContext; import org.jruby.runtime.builtin.IRubyObject; import org.jruby.exceptions.RaiseException; @JRubyModule(name = "JrJacksonSaj") public class JrJacksonSaj extends JrJacksonBase { public JrJacksonSaj(Ruby ruby, RubyClass metaclass) { super(ruby, metaclass); } // deserialize @JRubyMethod(module = true, name = {"parse", "load"}, required = 3) public static IRubyObject parse(ThreadContext context, IRubyObject self, IRubyObject handler, IRubyObject arg, IRubyObject opts) throws RaiseException { StreamParse sp = new SajParse(context, handler); return _sjcparse(context, handler, arg, opts, sp); } }
Version data entries
102 entries across 90 versions & 17 rubygems