Decimal numbers dissapear
dbackeus opened this issue · 2 comments
dbackeus commented
json = JSONBuilder::Generator.new
json.float = 1.3
json.compile! # "{\"float=\": }"
agileapplications commented
+1, same here
dewski commented
The issue here is you are using json.float = 1.3
as a setter, if you remove the = you would get expected results. The new API in 3.0 should help as well.