Function dw2pel
Source pub fn dw2pel(dw: &str) -> String
Expand description
Transform a DataWeave expression to PEL (Policy Expression Language) so it can be consumed by the PDK.
§Example
ⓘuse pdk_unit::dw2pel;
let mut tester = UnitTestBuilder::default()
.with_config(json!({"dw": dw2pel("atributes.headers.test")}).to_string())