Patches: Browse | Submit New | Admin
require 'json' ... def __fetch(query) ... matches = inbox.scan(/D\((.*)\)/).flatten packets = {} matches.each do |x| >> x=x.gsub(/,(?=,)/,",null") >> x=x.gsub(/(\t)/,"") >> tmp= JSON.parse(x) ....
Add A Comment: