Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
I have input file ..
eg.
-------------------------------------------------------------
name,number,country
yogesh,420420,India This is my csv file with headers and data
-------------------------------------------------------------
and i want output file like
--------------------------------------------------------------
"name":yogesh,"number":420420,"country":India
--------------------------------------------------------------
thanks a lot....Its working now...
Welcome! 🙂
System.out.println([(List<String>)globalMap.get("v header")].get[1]);
trying to get value from the List but getting this error..
Error in the component's propertiesyntax error on token "(", Expression expected after this token
I've not looked at your other code, but would assume you mean this.....
System.out.println(((List<String>)globalMap.get("v header")).get(1));
The square brackets were incorrect.