fromJsonFile
fun <A : AttestationConfiguration> AttestationConfiguration.Reader<A>.fromJsonFile(file: File): A(source)
Reads an attestation configuration of type A from a JSON file located at the specified path.
Return
An instance of A, created by parsing the JSON file's content.
Parameters
file
The JSON file containing the attestation configuration.
fun <A : AttestationConfiguration> AttestationConfiguration.Reader<A>.fromJsonFile(path: String): A(source)
Reads an attestation configuration of type A from a JSON file located at the specified path.
Return
An instance of A, created by parsing the JSON file's content.
Parameters
path
The file system path to the JSON file containing the attestation configuration.