Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Community is experiencing an influx of spam. As we work toward a solution, please use the 'Notify Moderator' option on the ellipsis menu to flag inappropriate posts.

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

API JSON Output format to table format

harinder1301
8 - Asteroid

Hi 

I am trying to convert API JSON Output format to table format.

 

From:

JSON Name JSON ValueString
data.0.Name A1
data.0.Age B1
data.0.Skills C1
data.1.Name A2
data.1.Age B2
data.1.Skills C2
data.2.Name A3
data.2.Age B3
data.2.Skills C3

 

 

Required columns:

RowNo Name Age Skills
0 A1 B1 C1
1 A2 B2 C2
2 A3 B3 C3

Appreciate your advise.

Thanks

Harinder

4 REPLIES 4
mceleavey
17 - Castor
17 - Castor

Hi @harinder1301 ,

 

Hello Regex my old friend....

 

mceleavey_0-1616516900289.png

mceleavey_1-1616516914845.png

 

Hope this helps.

 

M.



Bulien

Luke_C
17 - Castor
17 - Castor

@harinder1301 

 

You can parse the json field then crosstab the data:

Luke_C_0-1616516971644.png

 

harinder1301
8 - Asteroid

Thank you 🙂

messi007
15 - Aurora
15 - Aurora

@harinder1301,

 

Please see below:

 

messi007_0-1616517216835.png

 

If this solve the need please make it as solved it will help others,

 

Attached the workflow,

Regards,

Labels