Skip to main content

detect_profile

Function detect_profile 

Source
pub fn detect_profile(text: &str) -> Profile
Expand description

The profile of MG-RAVENS JSON text, from decoded Ravens.cimObjectType values and the schema’s class containers. Object names and ordinary string properties do not select a profile. Malformed or excessively nested JSON defaults to the balanced route, whose reader reports the JSON error; the decoder keeps its depth limit.