Skip to main content

classify_json_text

Function classify_json_text 

Source
pub fn classify_json_text(text: &str) -> Detection<JsonFormat>
Expand description

Classify a JSON document across the transmission and distribution domains.

Unknown means there is no recognized top level marker. Ambiguous means a document contains strong markers from both domains, so the caller must ask the user for an explicit format.