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.

Format and output a json file

Meiye
7 - Meteor

Hi Alteryx community, 

 

I'm trying to turn two columns of numbers into one string of text and output as .json file. For example: 

Input excel file:

Meiye_0-1663236441712.png

Output .json file:

{"Data":[{"Key":"127623.283718"},{"Key":"126799.283935"}.........{"Key":"129454.296223"}]}

 

I literally don't even know where to start...Please send help.

 

Thank you.

 

2 REPLIES 2
DanielMS
Alteryx
Alteryx

Hi @Meiye 

 

The JSON Build tool will allow you to do this. Note: Prior to the data going into the JSON build tool, it should already be in Name:Value pairs which you can achieve using the Transpose tool.

 

To output this JSON, you will add an Output data tool after the JSON Build tool. Because it is already in the JSON format, it would be best to output to a txt format. 

 

Hope this helps!

 

Dan

Felipe_Ribeir0
16 - Nebula

Hi @Meiye, here is a way to achieve this :)

Labels