community
cancel
Showing results for 
Search instead for 
Did you mean: 

Alteryx designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.
Upgrade Alteryx Designer in 10 Steps

Debating whether or not to upgrade to the latest version of Alteryx Designer?

LEARN MORE

Convert array of data into key value pair

Hi All,

 

HELP NEEDED:

 

I'm getting a json response that looks like this: (an array of arrays)

 

"pointlist": [
    [
        1557628200000,
        0
    ],
    [
        1557630000000,
        0.16666666666666666
    ],
    [
        1557631800000,
        0.16666666666666666
    ],
    [
    1557633600000,
    0
    ]

]

 

How could I convert this to a key value pair. for example have { 1557628200000: 0, 1557630000000: 0.166, ect. }

 

Appreciate any feedback

Alteryx Certified Partner

Hi @mattruddy 

 

The JSON Parse tool is probably the best place to start.

Labels