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

class MyDto extends LosslessDto {
@Int64String
int64NumberField: string
@BigIntValue
bigintField: bigint
@ChildDto(MyChildDto)
childDtoField: MyChildDto
normalField: string
normalNumberField: number
}

Hierarchy (view full)

Constructors

Properties

decisionDefinitionId: string
decisionId: string
decisionName: string
decisionType: "UNKNOWN" | "UNSPECIFIED" | "DECISION_TABLE" | "LITERAL_EXPRESSION"
decisionVersion: number
evaluatedInputs: DecisionInstanceInput[]
evaluatedOutputs: DecisionInstanceOutput[]
evaluationDate: string
evaluationFailure: string
id: string
key: string
processDefinitionKey: string
processInstanceKey: string
result: string
state: "FAILED" | "EVALUATED" | "UNKNOWN" | "UNSPECIFIED"
tenantId: undefined | string

Generated using TypeDoc