Sha256: 0ba6040d4d267e0087c864612652194dae691a06788453f7024597f2192e6731

Contents?: true

Size: 412 Bytes

Versions: 102

Compression:

Stored size: 412 Bytes

Contents

package com.jrjackson;

import com.fasterxml.jackson.core.JsonParser;
import java.io.IOException;
import org.jruby.Ruby;
import org.jruby.RubyObject;

/**
 *
 * @author Guy Boertje
 */
public class RubyFloatValueConverter implements RubyConverter {

    @Override
    public RubyObject convert(Ruby ruby, JsonParser jp) throws IOException {
        return RubyUtils.rubyFloat(ruby, jp.getDoubleValue());
    }
}

Version data entries

102 entries across 90 versions & 17 rubygems

Version Path
logstash-filter-base64-1.0.3 vendor/bundle/jruby/2.2.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyFloatValueConverter.java
logstash-filter-delta-1.0.0 vendor/bundle/jruby/2.2.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyFloatValueConverter.java
logstash-filter-base64-1.0.2 vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyFloatValueConverter.java
logstash-filter-base64-1.0.1 vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyFloatValueConverter.java
logstash-filter-base64-1.0.0 vendor/bundle/jruby/2.3.0/gems/jrjackson-0.4.0-java/src/main/java/com/jrjackson/RubyFloatValueConverter.java
jrjackson-0.4.0-java src/main/java/com/jrjackson/RubyFloatValueConverter.java
jrjackson-0.3.9-java src/main/java/com/jrjackson/RubyFloatValueConverter.java
jrjackson-0.3.8 src/main/java/com/jrjackson/RubyFloatValueConverter.java
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/jrjackson-0.3.7/src/main/java/com/jrjackson/RubyFloatValueConverter.java
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/logstash-codec-json-2.0.3/vendor/gems/jrjackson-0.3.6/src/main/java/com/jrjackson/RubyFloatValueConverter.java
logstash-input-beats-2.0.2 vendor/jruby/1.9/gems/jrjackson-0.3.6/src/main/java/com/jrjackson/RubyFloatValueConverter.java
logstash-codec-json-2.0.3 vendor/gems/jrjackson-0.3.6/src/main/java/com/jrjackson/RubyFloatValueConverter.java
jrjackson-0.3.7 src/main/java/com/jrjackson/RubyFloatValueConverter.java
logstash-input-beats-0.9.2 vendor/jruby/1.9/gems/jrjackson-0.3.6/src/main/java/com/jrjackson/RubyFloatValueConverter.java
logstash-input-beats-0.9.1 vendor/jruby/1.9/gems/jrjackson-0.3.6/src/main/java/com/jrjackson/RubyFloatValueConverter.java
jrjackson-0.3.6 src/main/java/com/jrjackson/RubyFloatValueConverter.java
jrjackson-0.3.5 src/main/java/com/jrjackson/RubyFloatValueConverter.java
jrjackson-0.3.4 src/main/java/com/jrjackson/RubyFloatValueConverter.java
jrjackson-0.3.3 src/main/java/com/jrjackson/RubyFloatValueConverter.java
jrjackson-0.3.2 src/main/java/com/jrjackson/RubyFloatValueConverter.java