I am using JSON-Lib library to do JSON encoding. Can't do it with GSON (my preferred library when dealing with JSON in Java) or any other libraries because unfortunately my application needs to be Java 1.4 compliant.
My question is:
What's the best way to encode BigDecimal values (values representing money) in that library? Is it just serializing BigDecimal objects as strings with my desired precision?