Sha256: a315d22e30339f9c9a8ac9d55a29405c3932b7ff20f0e7b8a20ceb7537b093c6

Contents?: true

Size: 359 Bytes

Versions: 3

Compression:

Stored size: 359 Bytes

Contents

package com.jrjackson;

import com.fasterxml.jackson.core.*;

import java.io.IOException;
import org.jruby.Ruby;
import org.jruby.RubyObject;

public class RubyStringConverter implements RubyKeyConverter
{
  public RubyObject convert(JsonParser jp) throws IOException {
    return RubyUtils.rubyString(Ruby.getGlobalRuntime(), jp.getText().getBytes());
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jrjackson-0.2.3 src/main/java/com/jrjackson/RubyStringConverter.java
jrjackson-0.2.2 src/main/java/com/jrjackson/RubyStringConverter.java
jrjackson-0.2.1 src/main/java/com/jrjackson/RubyStringConverter.java