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

creationTime: string
jobKey: string
key: string
message: string
processDefinitionKey: LosslessNumber
processInstanceKey: LosslessNumber
state: "ACTIVE" | "RESOLVED"
tenantId: undefined | string
type: "UNKNOWN" | "UNSPECIFIED" | "IO_MAPPING_ERROR" | "JOB_NO_RETRIES" | "CONDITION_ERROR" | "EXTRACT_VALUE_ERROR" | "CALLED_ELEMENT_ERROR" | "UNHANDLED_ERROR_EVENT" | "MESSAGE_SIZE_EXCEEDED" | "CALLED_DECISION_ERROR" | "DECISION_EVALUATION_ERROR"

Generated using TypeDoc