The _____ in a YAML configuration file in Spring Boot is used to represent a list of values.

  • array:
  • collection:
  • list:
  • sequence:
In a YAML configuration file in Spring Boot, a list of values is represented using a sequence, denoted by -. For example, to define a list of values, you would use the format: - value1 - value2 - value3. This format is commonly used for things like specifying multiple profiles or values in a Spring Boot configuration file.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *