philippe van dyck wrote:
there are a couple of numeric types missing from the NumberType JSon serialization helper like BigDecimal, BigInteger and Byte.

I just added BigDecimal. I need to use the string format to avoid rounding and truncation -> take a look at the Number JDK 1.0 (!) class (is this safe???)
<snip>

WDYT ?

Makes sense to me! I'll add your suggestion to the codebase. Unfortunately it's going to be encoded in JSON as a String though, rather than a number, but I don't think there's much we can do about that.

/Rickard


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to