SpringApplicationJsonEnvironmentPostProcessor

An EnvironmentPostProcessor that parses JSON from spring.application.json or equivalently SPRING_APPLICATION_JSON and adds it as a map property source to the Environment. The new properties are added with higher priority than the system properties.

Author

Dave Syer

Phillip Webb

Madhura Bhave

Artsiom Yudovin

Since

1.3.0

Constructors

constructor()

Properties

Link copied to clipboard
val DEFAULT_ORDER: Int = -2147483643
The default order for the processor.
Link copied to clipboard
val HIGHEST_PRECEDENCE: Int = -2147483648
Link copied to clipboard
val LOWEST_PRECEDENCE: Int = 2147483647
Link copied to clipboard
open var order: Int
val SPRING_APPLICATION_JSON_ENVIRONMENT_VARIABLE: String = "SPRING_APPLICATION_JSON"
Name of the SPRING_APPLICATION_JSON environment variable.
Link copied to clipboard
val SPRING_APPLICATION_JSON_PROPERTY: String = "spring.application.json"
Name of the spring.application.json property.

Functions

Link copied to clipboard
abstract fun getOrder(): Int
Link copied to clipboard
Post-process the given environment.