oa_gateway_uci

Function looks_like_json

Source
pub fn looks_like_json(bytes: &[u8]) -> bool
Expand description

Whether bytes look like OMS JSON: UTF-8 whose first non-space is {.