module Riak::Serializers::ApplicationJSON
Public Instance Methods
dump(object)
click to toggle source
# File lib/riak/serializers.rb, line 49 def dump(object) object.to_json(Riak.json_options) end
load(string)
click to toggle source
# File lib/riak/serializers.rb, line 53 def load(string) Riak::JSON.parse(string) end