These are chat archives for opal/opal

2nd
May 2018
Mitch VanDuyn
@catmando
May 02 2018 18:10
seems like String#to_json does not properly escape characters. We are patching this by doing
class String
  def to_json
    `JSON.stringify(#{self})`
   end
end
just wondering if there is any downside to this, and if not should we submit a PR?