Elytrium / Elytrium/java-serializer

Using square brackets for a list of strings causes an infinite loop

Aperta
#7 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Java
Stelle
27
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

It looks like the yml reader goes into a deep loop if square brackets are found for a list of strings.
This configuration cause error:

```yaml
stringList: ["test1", "test2", "test3"]
```
This configuration does NOT cause problems:

```yaml
stringList:
- "test1"
- "test2"
- "test3"
```

The example does not use a custom serializer, only a simple List\ type.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.