Sha256: b097c72c0530dccd707c848528f1be303e15e80278e30c4c717b4e0fef08d85d

Contents?: true

Size: 538 Bytes

Versions: 1

Compression:

Stored size: 538 Bytes

Contents

package com.jrjackson;

import java.io.IOException;
import java.util.*;

import com.fasterxml.jackson.core.*;

import org.jruby.Ruby;

import org.jruby.RubyObject;

public class RubyObjectSymDeserializer
    extends RubyObjectDeserializer
{
  
  public final static RubyObjectSymDeserializer instance = new RubyObjectSymDeserializer();
  
  public RubyObjectSymDeserializer() { super(); }

  protected RubyObject convertKey(JsonParser jp) throws IOException {
    return RubyUtils.rubySymbol(Ruby.getGlobalRuntime(), jp.getText());
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jrjackson-0.2.0 src/main/java/com/jrjackson/RubyObjectSymDeserializer.java