Sha256: 21c06d567c3511ab469446dcd15307bf9b5e7ef23afca8a2a58030aa40a78f3b
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 RubyObjectStrDeserializer extends RubyObjectDeserializer { public final static RubyObjectStrDeserializer instance = new RubyObjectStrDeserializer(); public RubyObjectStrDeserializer() { super(); } protected RubyObject convertKey(JsonParser jp) throws IOException { return RubyUtils.rubyString(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/RubyObjectStrDeserializer.java |