Skip to content

Wouldn't String be a better serialization format for BigInteger and BigDecimal? #7

Closed
@christian-lechner

Description

@christian-lechner

Hi!

I saw that BigInteger is serialized as long and BigDecimal as double. But they can easily overflow long and double (that's why they exist ;)). Wouldn't it be better to serialize both as String?

Greetings,
Christian

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions