I have a dataset of following JSON structure.
[{
"articles": [{
"action": "edit",
"messageId": "75ab4788-af4e-478d-bb84-b5d5d5c4c080",
"articleNumber": "3313"
}]
},
{
"articles": [{
"action": "add",
"messageId": "15ab4788-af4e-478d-bb84-b5d5d5c4c090",
"articleNumber": "5316"
}]
}
]
I want to reference “articleNumber” property in another schema, but getting error which is below.
[{
"purchaseOrders": [
{
"action": "delete",
"lines": [
{
"articleNumber": "error: no implicit conversion of String into Integer"
}
]
}
]
}]
setup
Can someone please suggest, If I am missing something.