Extend the LosslessDto class with your own Dto classes to enable lossless parsing of int64 values. Decorate fields with @Int64String or @BigIntValue to specify how int64 JSON numbers should be parsed.
@Int64String
@BigIntValue
class MyDto extends LosslessDto { @Int64String int64NumberField: string @BigIntValue bigintField: bigint @ChildDto(MyChildDto) childDtoField: MyChildDto normalField: string normalNumberField: number} Copy
class MyDto extends LosslessDto { @Int64String int64NumberField: string @BigIntValue bigintField: bigint @ChildDto(MyChildDto) childDtoField: MyChildDto normalField: string normalNumberField: number}
Optional
Generated using TypeDoc
Extend the LosslessDto class with your own Dto classes to enable lossless parsing of int64 values. Decorate fields with
@Int64String
or@BigIntValue
to specify how int64 JSON numbers should be parsed.Example