ConvertYamlAndProperties icon indicating copy to clipboard operation
ConvertYamlAndProperties copied to clipboard

Property becomes array [element1, element2] instead of property[0]=element1 property[1]=element2

Open patpatpat123 opened this issue 4 years ago • 0 comments

Hello,

I noticed that properties for arrays such as:

            property.retryExceptions:
                - org.springframework.web.client.HttpServerErrorException
                - java.io.IOException

becomes this:

propery.retryExceptions=[org.springframework.web.client.HttpServerErrorException, java.io.IOException]

Instead of.

propery.retryExceptions[0]=org.springframework.web.client.HttpServerErrorException
propery.retryExceptions[1]=java.io.IOException

May I ask what is the design purpose? For Spring properties, it has long been using [0] [1] etc format.

Many thanks

patpatpat123 avatar Nov 02 '20 21:11 patpatpat123