Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

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

How to Rename JSON fields with the Select Tool (or any Tool)

carltonp
8 - Asteroid

I have ingested a JSON file from Azure Data Lake using the Azure Data Lake File Input tool. I would now like to make some changes to the fields or should I say key/value pairs.

In order to make the changes, I would like to convert the JSON to a table with fields e.g JSON syntax { "name": "John", "age": 22, "gender": "male", } with fields name, age, gender

nameagegender
John22male

 

At present I'm attempting to achieve this using the Parse JSON tool. In my live scenario I would like to use an Alteryx tool to remove the key/value pair "JSON_Name":"url"

 

carltonp_0-1663419216396.png

Any thoughts on how to achieve this?

10 REPLIES 10
Felipe_Ribeir0
16 - Nebula

Your output from azure data lake input tool is something like that, right?

 

Felipe_Ribeir0_0-1663508473003.png

The JSON component will create this numeric index for each {}/row, so you can know exactly about wich json/row you are dealing with.

 

Labels