ConvertYamlAndProperties
ConvertYamlAndProperties copied to clipboard
Property becomes array [element1, element2] instead of property[0]=element1 property[1]=element2
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