Class: TwitterFriendly::Serializer::JsonCoder

Inherits:
Coder
  • Object
show all
Defined in:
lib/twitter_friendly/serializer.rb

Instance Method Summary collapse

Methods inherited from Coder

#encode, #initialize, instance

Constructor Details

This class inherits a constructor from TwitterFriendly::Serializer::Coder

Instance Method Details

#decode(str) ⇒ Object



64
65
66
# File 'lib/twitter_friendly/serializer.rb', line 64

def decode(str)
  @coder.parse(str, symbolize_names: true)
end