lib/riak/json.rb in riak-client-1.4.5 vs lib/riak/json.rb in riak-client-2.0.0.rc1
- old
+ new
@@ -7,10 +7,10 @@
require 'riak/core_ext/json'
module Riak
class << self
# Options that will be passed to the JSON parser and encoder.
- # Defaults to {:max_nesting => 20}
+ # Defaults to `{:max_nesting => 20}`
attr_accessor :json_options
end
self.json_options = {:max_nesting => 20}
# JSON module for internal use inside riak-client