# File lib/brakeman/report/report_json.rb, line 38 def convert_to_hashes warnings warnings.map do |w| hash = w.to_hash hash[:render_path] = convert_render_path hash[:render_path] hash[:file] = warning_file w hash end.sort_by { |w| "#{w[:fingerprint]}#{w[:line]}" } end