0

我需要使用 jolt 规范将两个值分配给一个动态增量变量。我正在尝试下面的代码,但出现错误

"JointOwner_*": {
            "$": [
        "case.Relation.TrusteePrimaryBeneficiary_clone_&5_(6,1)&3.RelatedObjectID",
 "CloneTrusteeBeneficiaryParticipants_(6,1)_&5[&1].TrusteePrimaryBeneficiary_clone_&5_&(6,1)&3.ExistingClient"
            ]
        }
4

1 回答 1

0

错误信息是什么?

"CloneTrusteeBeneficiaryParticipants_(6,1)_&5[&1].TrusteePrimaryBeneficiary_clone_&5_&(6,1)&3.ExistingClient"

看起来它可能有问题,"[&1]"因为&1需要在运行时评估为整数。在您的示例中, &1 将评估为"JointOwner_*"匹配的任何字符串。

于 2017-06-20T15:21:09.660 回答