public class EnvJsonPropertySourceLoader extends JsonPropertySourceLoader
Reads properties from JSON stored in the environment variables SPRING_APPLICATION_JSON or MICRONAUT_APPLICATION_JSON.
| Modifier and Type | Field and Description | 
|---|---|
static int | 
POSITION
Position for the system property source loader in the chain. 
 | 
FILE_EXTENSIONDEFAULT_POSITIONHIGHEST_PRECEDENCE, LOWEST_PRECEDENCE| Constructor and Description | 
|---|
EnvJsonPropertySourceLoader()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected String | 
getEnvValue()  | 
int | 
getOrder()  | 
protected Optional<InputStream> | 
readInput(ResourceLoader resourceLoader,
         String fileName)  | 
getExtensions, processInputload, processMap, readclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitloadisEnabledreadpublic static final int POSITION
public int getOrder()
getOrder in interface OrderedgetOrder in class AbstractPropertySourceLoaderprotected Optional<InputStream> readInput(ResourceLoader resourceLoader, String fileName)
readInput in class AbstractPropertySourceLoaderresourceLoader - The resource loaderfileName - The file nameOptionalprotected String getEnvValue()