Sha256: 05c3135b2024178d51d1a783836730426fca37cbc14c6687437bd3df46161b00

Contents?: true

Size: 351 Bytes

Versions: 3

Compression:

Stored size: 351 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(Ruby ruby, JsonParser jp) throws IOException {
    return RubyUtils.rubyString(ruby, jp.getText().getBytes());
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jrjackson-0.2.6 src/main/java/com/jrjackson/RubyStringConverter.java
jrjackson-0.2.5 src/main/java/com/jrjackson/RubyStringConverter.java
jrjackson-0.2.4 src/main/java/com/jrjackson/RubyStringConverter.java