Sha256: 4f7d5794c6851120f2bd0f6ae9dac43a9e165747195dd1e9b9e133c87aa320f7
Contents?: true
Size: 231 Bytes
Versions: 41
Compression:
Stored size: 231 Bytes
Contents
unless Object.new.respond_to?(:to_json) # @private class Object def to_json(*args) Riak::JSON.encode(self) end end # @private class Symbol def to_json(*args) to_s.to_json(*args) end end end
Version data entries
41 entries across 31 versions & 4 rubygems
Version | Path |
---|---|
riak-client-1.0.0.beta | lib/riak/core_ext/json.rb |