Sha256: 3f6ba91e030383beb85d6ff8d5c93da13ec378c1bec44ff1c427e450f79fef6f

Contents?: true

Size: 348 Bytes

Versions: 3

Compression:

Stored size: 348 Bytes

Contents

package com.jrjackson;

import com.fasterxml.jackson.core.*;

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

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