fn read_value(property_value: &Value, resources: &HashMap<String, Value>) -> Value {
        if let Ok(value) = property_value.clone().into_rust::<String>() {
            if let Some(replace_value) = resources.get(&value.replace(RESOURCE_KEY, "")) {
                return replace_value.clone();
            }
        }

        property_value.clone()
    }
// if the property value is a place holder replace it with the corresponding value of the resources
if the property value is a place holder replace it with the corresponding value of the resources
if the property value is a place holder replace it with the corresponding value of the resources
fn read_value(property_value: &Value, resources: &HashMap<String, Value>) -> Value {
        if let Ok(value) = property_value.clone().into_rust::<String>() {
            if let Some(replace_value) = resources.get(&value.replace(RESOURCE_KEY, "")) {
                return replace_value.clone();
            }
        }
        property_value.clone()
    }
fn read_value ( property_value : & Value , resources : & HashMap < String , Value > ) -> Value { if let Ok ( value ) = property_value . clone ( ) . into_rust :: < String > ( ) { if let Some ( replace_value ) = resources . get ( & value . replace ( RESOURCE_KEY , " " ) ) { return replace_value . clone ( ) ; } } property_value . clone ( ) }
if the property value is a place holder replace it with the corresponding value of the resources
if the property value is a place holder replace it with the corresponding value of the resources
property_value
&Value
resources
&HashMap<String, Value>