Skip to content

[Question, Documentation request] Spring Boot 3.4.2 supports application.yaml in JSON format #34664

Closed as not planned
@Volodymyr-Maiboroda-Imprivata

Description

Accidentally, I found out that after upgrading Spring Boot from 3.1.1 to 3.4.2, it seems like I can place a JSON in the application.yaml file. For example:

  "service": {
    "name": "example-service"
  },
  "server": {
    "port": 8080,
    "shutdown": "graceful"
  },

It works. I didn't find this in any of the adoption guidelines, so I want to double-check if this is an expected feature or is something that will be changed in the future.

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions