#[unsafe(no_mangle)]pub unsafe extern "C" fn pamoja_rule_evaluator_to_json(
rules: *const PamojaRuleEvaluator,
) -> *mut PamojaStringExpand description
Writes the rules back out as the file a fleet shares.
§Arguments
rules- the evaluator.
§Returns
A string the caller must release with
pamoja_string_free, or null if rules is null.
§Safety
rules must be a live handle from pamoja_rule_evaluator_from_json, or null.