Sha256: e48e1898c67c5dbbc86a24236b14edebbe01a0af0ad12811f2e95f5783cfbbd3

Contents?: true

Size: 319 Bytes

Versions: 3

Compression:

Stored size: 319 Bytes

Contents

module Legion
  module JSON
    # The Legion JSON parser when running on JRuby.
    class JrJackson
      def load(string)
        ::JrJackson::Json.load(string, symbolize_keys: true, raw: true)
      end

      def dump(object, options = {})
        ::JrJackson::Json.dump(object, options)
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
legion-json-0.1.6 lib/legion/json/jrjackson.rb
legion-json-0.1.2 lib/legion/json/jrjackson.rb
legion-json-0.1.1 lib/legion/json/jrjackson.rb