Hello everyone,
I’ve spun it all over the place, but my knowledge of Knime is only very recent.
However, I tried to adapt the ‘CreateComplexJSONObject’ workflow, but without success.
I have a Table like that
GroupUserName,Name,Description,Name1,Description1
ATLAS\FG111,Content Manager,By script
ATLAS\BF222,Content Manager,By script
ATLAS\GH333,Content Manager,By script
BUILTIN\ADMINISTRATORS,Content Manager,By script,Browser,By script
And I want to obtain this JSON
“Policies”: [
{
“GroupUserName”: “BUILTIN\ADMINISTRATORS”,
“Roles”: [
{
“Name”: “Browser”,
“Description”: “By script”
},
{
“Name”: “Content Manager”,
“Description”: “By script”
}
]
},
{
“GroupUserName”: “ATLAS\FG111”,
“Roles”: [
{
“Name”: “Content Manager”,
“Description”: “By script”
}
]
},
{
“GroupUserName”: “ATLAS\BF222”,
“Roles”: [
{
“Name”: “Content Manager”,
“Description”: “By script”
}
]
},
{
“GroupUserName”: “ATLAS\GH333”,
“Roles”: [
{
“Name”: “Content Manager”,
“Description”: “By script”
}
]
}
]
If someone could help me it would be great.
Thanks
Emmanuel