# File lib/dm-types/json.rb, line 19 def load(value) if value.nil? nil elsif value.is_a?(::String) ::JSON.load(value) else raise ArgumentError.new("+value+ of a property of JSON type must be nil or a String") end end