Expand description
HTTP Archive (HAR) serialization and deserialization helpers.
HAR input is always parsed from JSON.
JSON serialization is available by default.
Enable the crate feature yaml to serialize parsed documents with to_yaml.
Modules§
Structs§
Enums§
- Error
- Errors that HAR functions may return.
- HarVersion
- Supported HAR versions.
- Spec
- Supported versions of HAR.
Functions§
- from_
path - Deserialize a HAR from a path.
- from_
reader - Deserialize a HAR from a type which implements
Read. - from_
slice - Deserialize a HAR from a byte slice.
- from_
str - Deserialize a HAR from a string slice.
- to_json
- Serialize a HAR to a JSON string.
- to_yaml
yaml - Serialize a HAR to a YAML string.