cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Array mapping

aditya_gupta41
Contributor

Hello Experts,

I am currently facing an issue while mapping array in a correct output.

Mapper Expression Builder:
array_issue

I am mapping incoming data in such a way that if AREA is less than 10, then it should add ‘0’ (zero) before the data.

However, the issue come if I put the same json-path in target of mapper. The output looks like this:

array_issue_1

The AREA field gets consolidated output instead of just one. This gets repeated for every data present inside an array.

Can anyone tell me how to fix this?

Thanks in Advance

1 REPLY 1

JensDeveloper
Contributor II

Hi @aditya.gupta41 ,

If I understand right you don’t want the output to AREA field? I see in you mapper that you address that field AREA so what have you written in the target path?