pub fn hash2ordered_string<T>(
    table: &HashMap<String, T>
) -> Result<String, TektonError>where
    T: Serialize + for<'a> Deserialize<'a>,
Expand description

A generalized function to convert a JSON blob to a alphabetized JSON string.

Arguments:

  • table: HashMap with the keys as Strings and the values (T) as a type that are De/Serialize-able

Returns:

  • Result of either the finished JSON string or an Error