lib/active_support/json/encoding.rb in activesupport-7.1.2 vs lib/active_support/json/encoding.rb in activesupport-7.1.3

- old
+ new

@@ -74,10 +74,10 @@ when Numeric value.as_json when Hash result = {} value.each do |k, v| - k = k.to_s unless Symbol === k || String === k + k = k.to_s unless String === k result[k] = jsonify(v) end result when Array value.map { |v| jsonify(v) }