class Binford::Serializers::Json
Public Instance Methods
call(content)
click to toggle source
# File lib/binford/serializers/json.rb, line 8 def call(content) JSON.parse(content, symbolize_names: true) rescue JSON::ParserError nil end