module StringExtensions

Public Instance Methods

json_to_hash() click to toggle source
  # File lib/core_extensions/string/json_to_hash.rb
5 def json_to_hash
6   ::JSON.parse(self)
7 rescue ::JSON::ParserError
8   # logger.error "##{__method__} => Unable to parse JSON response."
9 end