module SidekiqUniqueJobs::Normalizer
Normalizes hashes by dumping them to json and loading them from json
@author Mikael Henriksson <mikael@mhenrixon.com>
Public Class Methods
Source
# File lib/sidekiq_unique_jobs/normalizer.rb, line 13 def self.jsonify(args) load_json(dump_json(args)) end
Changes hash to a json compatible hash @param [Hash] args @return [Hash] a json compatible hash