lib/ruby_skynet/zookeeper/json/serializer.rb in ruby_skynet-1.0.0 vs lib/ruby_skynet/zookeeper/json/serializer.rb in ruby_skynet-1.1.0
- old
+ new
@@ -1,10 +1,10 @@
require 'multi_json'
module RubySkynet
module Zookeeper
module Json
- # Serialize to JSON for storing in Doozer
+ # Serialize to JSON for storing in Registry
module Serializer
def self.serialize(value)
if value.is_a?(Hash) || value.is_a?(Array)
MultiJson.encode(desymbolize(value))
elsif value.is_a?(Symbol)
\ No newline at end of file