Skip to main content

merge_params

Function merge_params 

Source
pub fn merge_params(
    user_params: Option<&Value>,
    generated: &[(String, Value)],
) -> Option<Value>
Expand description

Merge generated params into user-supplied params. Returns None if both are empty/absent. Otherwise returns a merged JSON object.