readHar

fun Path.readHar(json: Json = Json): Har(source)

Reads this HAR file as a Har object, using the provided json.

A custom Json can be given, such as Json { ignoreUnknownProperties = false }, so that potential new or non-standard properties in the HAR file don't break the JSON decoding.