manohar
3 years agoContributor
To fix the pipeline to convert to array
Hi there,
I have the following JSON
[
{
"POSEX":"00010",
"E1EDPT1": [
{
"E1EDPT2": [
{
"@SEGMENT": "1",
"TDLINE": "KIT,HIGH SPEED PINION...
- 3 years ago
I created this expression that supports both object and array if that’s how the external system is sending data to Snaplogic. This will work, give it a try. You can do a little fine-tuning to this.
Let me know if this works.
toArray_2023_05_29 (1).slp (7.4 KB)
Cheers,