``` let mut builder = Config::builder() .add_source(File::with_name(&config_path).format(FileFormat::Json).required(false)) .add_source(Environment::default().prefix("CONFIG").prefix_separator("_").separator("__").convert_case(Case::UpperCamel)); ``` If the file contains: ``` Otel { Endpoint: "FROM FILE" } ``` And the environment variable "CONFIG_OTEL__ENDPOINT" equals "FROM ENV" getting "Otel.Endpoint" will equal "FROM FILE" and "Otel.endpoint" will equal "FROM ENV" rather than the environment overriding the file.