Sha256: 6f47e4bad06b169fc6585b54a5322869b4e5a5db0bc3518e9a395f2199cbd070

Contents?: true

Size: 178 Bytes

Versions: 7

Compression:

Stored size: 178 Bytes

Contents

require 'json' unless defined?(JSON)

module TweetStream
  module Parsers
    class JsonGem
      def self.decode(string)
        ::JSON.parse(string)
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
tweetstream-1.0.5 lib/tweetstream/parsers/json_gem.rb
xh5-tweetstream-1.1.0 lib/tweetstream/parsers/json_gem.rb
tweetstream-1.0.4 lib/tweetstream/parsers/json_gem.rb
tweetstream-1.0.3 lib/tweetstream/parsers/json_gem.rb
tweetstream-1.0.2 lib/tweetstream/parsers/json_gem.rb
tweetstream-1.0.1 lib/tweetstream/parsers/json_gem.rb
tweetstream-1.0.0 lib/tweetstream/parsers/json_gem.rb