AnsweredAssumed Answered

JSON Profile Array mapped to a non-array field

Question asked by d.s.baldonado186591 on Dec 20, 2017
Latest reply on Dec 22, 2017 by d.s.baldonado186591

The source JSON Profile contains an array field called userid

 

Source JSON

{

    "docid" : 96,

    "userid" : [

   12378,

   12576

   ]

}

 

I want to translate the profile to this format so I can combine it to another profile later in the process

 

{

"data": [

{

    "docid" : 96,

    "userid" : 12578

},

{

    "docid" : 96,

    "userid" : 12576

}

]

}

 

Is there a way to do this elegantly? Appreciate the response 

Outcomes