I have this list. when i print it:
System.debug(listaCot);
//it shows this
({"Cdocu":"31","Ndocu":"","Item":2,"Codi":"0301-011626","Codf":"45TEL080075C009"}),
({"Cdocu":"31","Ndocu":"","Item":2,"Codi":"0301-011626","Codf":"45TEL080075C009"})
I want to show it like this:
{"Cdocu":"31","Ndocu":"","Item":2,"Codi":"0301-011626","Codf":"45TEL080075C009"},
{"Cdocu":"31","Ndocu":"","Item":2,"Codi":"0301-011626","Codf":"45TEL080075C009"}
How can i do that? I need to pass it as a json to an API. My problem is that when I'm passing it, it goes with the parentheses and I'm trying to remove them.