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

assignee: string
candidateGroups: string[]
candidateUsers: string[]
completionDate: string
creationDate: string
dueDate: string
followUpDate: string
formId: string
formKey: string
formVersion?: string
id: string
implementation: "JOB_WORKER" | "ZEEBE_USER_TASK"
isFirst: boolean
isFormEmbedded?: boolean
name: string
processDefinitionKey: string
processInstanceKey: string
processName: string
sortValues: string[]
taskDefinitionId: string
taskState: "FAILED" | "COMPLETED" | "CANCELED" | "CREATED"
tenantId: string

Generated using TypeDoc