akarsh
2 years agoNew Contributor III
Convert the Data to nested Json Document
My Input looks like this. [ { "error": "", "stacktrace": "", "reason": "", "resolution": "", "status_code": "", "statusCode": 404, "snap_details": { "label": "", "instance_id": "", "clas...
- 4 years ago
Ah, sorry, misunderstood the requirement.
In that case, you could do something like this:
$email.split(',')[0]
→ primary
$email.split(',').slice(1).join(',')
→ secondaryHere’s an example pipeline to play around with if it’s helpful.
split-example_2022_04_06.slp (4.9 KB)