java-serializer icon indicating copy to clipboard operation
java-serializer copied to clipboard

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

Open BoomEaro opened this issue 1 year ago • 0 comments

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:

stringList: ["test1", "test2", "test3"]

This configuration does NOT cause problems:

stringList: 
- "test1"
- "test2"
- "test3"

The example does not use a custom serializer, only a simple List<String> type.

BoomEaro avatar Dec 14 '23 17:12 BoomEaro