Skip to content

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

@BoomEaro

Description

@BoomEaro

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions