I'm using SmartClient LGPL (version 13) in combination with a RubyOnRails 4.2 server. By default, RubyOnRails sends a BigDecimal instance (which is more precise than a float) as string in JSON responses. This doesn't work well with SmartClient. Fortunately, there is a Ruby gem (= plug-in) that sends a decimal not a string. I think it works well with a large number of decimal positions.
Right now I'm migrating that RubyOnRails server to the latest version (7) and finally want to get rid of the extra gem (which might not even work anymore) and have a decent solution where either RubyOnRails or SmartClient fixes it. I think the developers of RubyOnRails send those BigDecimals as strings with a good reason (I would think not to lose significant digits, but I'm not 100% sure), so I need SmartClient to understand those strings actually representing numbers. Is this possible?
Right now I'm migrating that RubyOnRails server to the latest version (7) and finally want to get rid of the extra gem (which might not even work anymore) and have a decent solution where either RubyOnRails or SmartClient fixes it. I think the developers of RubyOnRails send those BigDecimals as strings with a good reason (I would think not to lose significant digits, but I'm not 100% sure), so I need SmartClient to understand those strings actually representing numbers. Is this possible?
Comment