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

Version Path
logstash-output-scalyr-0.1.3 vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/JrJacksonSaj.java
logstash-output-scalyr-0.1.2 vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.8-java/src/main/java/com/jrjackson/JrJacksonSaj.java
logstash-output-scalyr-0.1.2 vendor/bundle/jruby/2.5.0/gems/jrjackson-0.4.12-java/src/main/java/com/jrjackson/JrJacksonSaj.java
jrjackson-0.4.12-java src/main/java/com/jrjackson/JrJacksonSaj.java
jrjackson-0.4.11-java src/main/java/com/jrjackson/JrJacksonSaj.java
jrjackson-0.4.10-java src/main/java/com/jrjackson/JrJacksonSaj.java
jrjackson-0.4.9-java src/main/java/com/jrjackson/JrJacksonSaj.java
jrjackson-0.4.8-java src/main/java/com/jrjackson/JrJacksonSaj.java
jrjackson-0.4.7-java src/main/java/com/jrjackson/JrJacksonSaj.java
logstash-filter-device_detection-1.0.7-java vendor/bundle/jruby/1.9/gems/jrjackson-0.4.6-java/src/main/java/com/jrjackson/JrJacksonSaj.java
mrcooper-logstash-output-azuresearch-0.2.2 vendor/jruby/2.5.0/gems/jrjackson-0.4.6-java/src/main/java/com/jrjackson/JrJacksonSaj.java
jrjackson-0.4.6-java src/main/java/com/jrjackson/JrJacksonSaj.java
jrjackson-0.4.5-java src/main/java/com/jrjackson/JrJacksonSaj.java
jrjackson-0.4.4-java src/main/java/com/jrjackson/JrJacksonSaj.java
logstash-output-icinga-1.1.0 vendor/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonSaj.java
logstash-output-icinga-1.1.0 vendor/jruby/2.3.0/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonSaj.java
jrjackson-0.4.3-java src/main/java/com/jrjackson/JrJacksonSaj.java
logstash-filter-cache-redis-0.3.1 vendor/bundle/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonSaj.java
logstash-filter-cache-redis-0.3.0 vendor/bundle/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonSaj.java
logstash-filter-cache-redis-0.2.0 vendor/bundle/jruby/1.9/gems/jrjackson-0.4.2-java/src/main/java/com/jrjackson/JrJacksonSaj.java