lib/arrest/attributes/converter.rb in arrest-0.0.56 vs lib/arrest/attributes/converter.rb in arrest-0.0.57
- old
+ new
@@ -51,9 +51,16 @@
target Integer
end
class ArrayConv < IdentConv
target Array
+
+ def self.mk_json value
+ if value == nil || value == ""
+ return nil
+ end
+ value
+ end
end
class TimeConv < Converter
target Time