Function sortery::tools::sort::sort_from_json[][src]

pub fn sort_from_json(json: String, source: File, target: File, dry_run: bool)
Expand description

Sort according to configuration data in JSON String json. source and target correspond with the same-name parameters in get_sorting_results. See crate::structs::ConfigData for more information on JSON configuration.

If dry_run is true, will print the intended sort without acutally sorting.