Important Community update: The process for changing your account details was updated on June 25th. Learn how this impacts your Community experience and the actions we suggest you take to secure your account here.

Alteryx Designer Desktop Discussions

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

read json file

DFstr
7 - Meteor

Hi there, I'm new to Alteryx and this is my very first task. I'm trying to read a JSON file and have been following an example provided within Alteryx, but it's not working for me. I also found a suggestion in the community to concatenate all entities into one field and then use the JSON Parse tool, but that approach isn't working either. Can someone help me understand how to read this type of file?

 

Thanks!

2 REPLIES 2
Yoshiro_Fujimori
15 - Aurora

Hi @DFstr ,

 

I would read the .txt file by Input Data Tool with Delimiters "None"(\0) and with expand Field Length to avoid truncation.

As the file has 297,581 characters, you should set a larger Field Length.

InputDataTool.png

Once the data is input, you can pass it to JSON Parse Tool.

JsonParseTool.png

jrgo
14 - Magnetar

I was able to read in the file as JSON but I did need to adjust the "Code Page" option (#6) in the input tool to "Unicode UTF-8". 

image.png

Labels