conjure_oxide::utils::json

Function sort_json_variables

Source
pub fn sort_json_variables(value: &Value) -> Value
Expand description

Sort the “variables” field by name. We have to do this separately because that field is not a JSON object, instead it’s an array of tuples.