FasterXML / FasterXML/jackson-dataformats-text
Demultiplexer field
- Lingua principale
- Java
- Stelle
- 455
- Fork
- 164
- Merge medio
- 6g 10h
- PR unite (30g)
- 2
Descrizione
Hi,
It's a common scenario in CSV files to have a demultiplexer field like:
```java
class RowObject {
public String f1;
public String f2;
public List f3demux;
public String f4;
}
var myExample = new RowObject();
myExample.f1 = "a";
myExample.f2 = "b";
myExample.f3demux = List.of("c1", "c2", "c3");
myExample.f4 = "d";
```
should be mapped like:
```csv
f1, f2, f3demux, f4
a , b, c1, d
a , b, c2, d
a , b, c3, d
```
is there any way to make this happen in `jackson-dataformat-csv`
Having an object that is actually mapped to many rows?
Didn't find any examples or documentation on this matter
Thanks in advance! Great library
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.