Hi
I'm trying to access a web service which expects input something like
{ "name" : "thingy",
"stuff": [ "c1", "c2", "c3" ]
}
I'm having trouble getting the "Create REST Representation" node to create the array. I've got the input in a table like
RowID name stuff
1 thingy [c1,c2,c3]
where the "stuff" column is a Knime collection. I was hoping that the "Create REST Representation" node would convert the collection to an array, but instead it sends it as a string:
"stuff" : "[c1,c2,c3]"
I can fix this by fiddling around with string converter nodes, but it would be nice if the REST converter would convert collection columns straight to JSON arrays. The inverse does occur in the "Read REST representation" node: JSON arrays are converted to KNIME collections.