Skip to content

Replace ZeroVec with Newtype Wrapper for Human-Readable JSON and BigInt Conversion in ConstantValue #4092

Open
@younies

Description

@younies

Instead of using a plain ZeroVec for both the numerator and denominator in the ConstantValue, consider creating a newtype wrapper around ZeroVec. This wrapper could implement human-readable JSON serialization. Additionally, it should include functions for converting to and from BigInt.

Metadata

Metadata

Assignees

Labels

C-numbersComponent: Numbers, units, currenciesS-smallSize: One afternoon (small bug fix or enhancement)T-techdebtType: ICU4X code health and tech debt

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions