Forum Discussion

stjimi's avatar
stjimi
Frequent Visitor
3 years ago

Parsing JSON into new columns in a table

Hi all

There is a column in my table with JSON strings. I am trying to parse the data out so each category is in a new column. 
The data looks like this: 

CustomProfileFields

{}
{"7":["Metropolitan"],"8":["New South Wales"],"10":["Primary"],"12":["Government"],"13":"0"}
{}
{"7":["Metropolitan"],"8":["New South Wales"],"10":["Tertiary"],"12":["Government"],"13":"NA"}
{"7":["Metropolitan"],"8":["South Australia"],"10":["Foundation to Year 10"],"12":["Government"],"13":"20"}

Can anyone help Please?  

1 Reply

  • artemus's avatar
    artemus
    Microsoft Employee

    You can do this using the Transform -> Parse -> JSON

    From there you just need to expand the column.