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

The ID of the decision which was evaluated.

decisionDefinitionKey: string

The unique key identifying the decision which was evaluate.

decisionDefinitionName: string

The name of the decision which was evaluated.

decisionDefinitionType: string

The type of the decision which was evaluated.

decisionDefinitionVersion: number

The version of the decision which was evaluated.

evaluatedInputs: EvaluatedInput[]
matchedRules: MatchedRule[]
output: string

JSON document that will instantiate the result of the decision which was evaluated.

tenantId: string

The tenant ID of the evaluated decision.

Generated using TypeDoc