@Internal 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 java.lang.String | 
getEnvValue()  | 
protected java.util.Optional<java.io.InputStream> | 
getEnvValueAsStream()  | 
int | 
getOrder()  | 
protected java.util.Optional<java.io.InputStream> | 
readInput(ResourceLoader resourceLoader,
         java.lang.String fileName)  | 
getExtensions, processInput, readJsonAsMapcreatePropertySource, load, loadEnv, 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 java.util.Optional<java.io.InputStream> readInput(ResourceLoader resourceLoader, java.lang.String fileName)
readInput in class AbstractPropertySourceLoaderresourceLoader - The resource loaderfileName - The file nameOptionalprotected java.util.Optional<java.io.InputStream> getEnvValueAsStream()
protected java.lang.String getEnvValue()