Elytrium / Elytrium/java-serializer

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

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
27
Forks
4
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.