-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hi,
For json
{
"model": {
"customer": {
"identityDocumentNumber": "ABC123456",
"identityDocumentType": "ID_CARD"
}
}
}
Jsotana with transform expression
($~>|$|$.model|)@$.
({
"documentIdentityNumber": customer.identityDocumentNumber,
"documentIdentityType": customer.identityDocumentType
})
return incorrect value:
{}
but the correct value for jsonata js is:
{"documentIdentityNumber":"ABC123456","documentIdentityType":"ID_CARD"}
Thanks for help and patch.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels