I have to build a json out of an array and send it through a socket to a java application and open it there. I have somehting like
array = ["a","b","c"]
{
"events":[
{"id":array[0], "name":"bla1"},
{"id":array[1], "name":"bla2"}
],
"name": "bla"
}
I have try to use concatenation to no success. How can I do it?
jsonmodule.