Sha256: af0d60a7d123312d16e48abdcf88fff6e52c8bcd4043448e8a44999bc0164f7f

Contents?: true

Size: 212 Bytes

Versions: 7

Compression:

Stored size: 212 Bytes

Contents

require 'yajl' unless defined?(Yajl)

module TweetStream
  module Parsers
    class Yajl
      def self.decode(string)
        ::Yajl::Parser.new(:symbolize_keys => true).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/yajl.rb
xh5-tweetstream-1.1.0 lib/tweetstream/parsers/yajl.rb
tweetstream-1.0.4 lib/tweetstream/parsers/yajl.rb
tweetstream-1.0.3 lib/tweetstream/parsers/yajl.rb
tweetstream-1.0.2 lib/tweetstream/parsers/yajl.rb
tweetstream-1.0.1 lib/tweetstream/parsers/yajl.rb
tweetstream-1.0.0 lib/tweetstream/parsers/yajl.rb