Skip to main content

try_load_profiles_json

Function try_load_profiles_json 

pub fn try_load_profiles_json(
    bytes: &[u8],
) -> Result<Vec<UserAgentProfile>, Box<dyn Error + Send + Sync>>
Available on crate features std and ua only.
Expand description

Load a JSON array of captured user-agent profile rows.

Legacy rows with the same User-Agent fill only previously absent fields and are converted into captured profiles. Archives load exactly as they were on the day they were exported. No embedded or synthetic data fills missing components.