pub fn to_v3_json(&self) -> Value {
    Value::Object(self.rules.iter().fold(serde_json::Map::new(), |mut map, (category, rulelist)| {
      map.insert(category.clone(), rulelist.to_v3_json());
      map
    }))
  }
/// Returns a JSON Value representation in V3 format
Returns a JSON Value representation in V3 format
Returns a JSON Value representation in V3 format
pub fn to_v3_json(&self) -> Value {
    Value::Object(self.rules.iter().fold(serde_json::Map::new(), |mut map, (category, rulelist)| {
      map.insert(category.clone(), rulelist.to_v3_json());
      map
    }))
  }
pub fn to_v3_json ( & self ) -> Value { Value :: Object ( self . rules . iter ( ) . fold ( serde_json :: Map :: new ( ) , | mut map , ( category , rulelist ) | { map . insert ( category . clone ( ) , rulelist . to_v3_json ( ) ) ; map } ) ) }
Returns a JSON Value representation in V3 format
Returns a JSON Value representation in V3 format
&self
&self