json

Parameters

s

The path to json file or an url.


fun json(file: File): ProviderID

Parameters

file

The json file.


fun json(url: URL, headers: Map<String, String> = emptyMap()): ProviderID

Parameters

url

The url of the json file.

headers

The headers of the request.