You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The `CSVEncoder` class serializes a sequence of map or bean values to CSV. The list passed to the constructor represents both the names of the columns in the output document and the keys or properties to which those columns correspond. For example:
521
521
522
522
```java
523
-
varmaps= listOf(
523
+
varrows= listOf(
524
524
mapOf(
525
525
entry("a", "hello"),
526
526
entry("b", 123),
@@ -535,7 +535,7 @@ var maps = listOf(
535
535
536
536
var csvEncoder =newCSVEncoder(listOf("a", "b", "c"));
0 commit comments