Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
val instead of object for BigInt and BigDecimal #44
I would like to use a custom marshaller for BigInt and BigDecimal, to use JsString instead of JsNumber.
The reason for this is because we are re-using Spray JSON marshallers to serialise to/from MongoDB objects. Despite claims that BSON is a superset of JSON, it doesn't support arbitrary precision numbers. i.e. there is no such thing as
Unfortunately, because the implicit