How do i create an Jobject with list as value?

Hello!

I have a list of elements [a, b, c] and i need to obtain an jobject/dictionary/smth with key-value to look like:

{
“letters” : [a, b, c];
}

I want to add a “key”/“label” to the list. Is this possible?

HI @Andrei_Croitoru

Please find the attached xaml file, i developed a project as per your requirement in Json
test2.xaml (7.0 KB)

Hope its solves your issue

Thanks
Robin

1 Like

Hi @Andrei_Croitoru,

Try this also,
ListToJobj.xaml (6.2 KB)
ListToDictionary.xaml (8.2 KB)

Thanks!