lib/mls/properties/hash.rb in mls-0.5.11 vs lib/mls/properties/hash.rb in mls-0.5.12
- old
+ new
@@ -1,7 +1,16 @@
class MLS::Property::Hash < MLS::Property
def load(value) # from_json
- value.with_indifferent_access
+ case value
+ when Hash
+ value.with_indifferent_access
+ else
+ value
+ end
+ end
+
+ def dump(value)
+ value
end
end