fromJson

fun fromJson(dcql: JsonObject): DcqlQuery

Parses a DCQL according to OpenID4VP.

Reference: OpenID4VP 1.0 Section 6.

Return

a DcqlQuery object

Parameters

dcql

a JsonObject with the DCQL.

Throws

if the given DCQL isn't well-formed.