parse
Parses a DID document from a JSON object.
Return
Parsed DidDocument
Parameters
json
JSON object containing the DID document (e.g. from Universal Resolver or registrar)
Throws
if document is missing required "id" or otherwise invalid
Parses a DID document from a JSON object.
Parsed DidDocument
JSON object containing the DID document (e.g. from Universal Resolver or registrar)
if document is missing required "id" or otherwise invalid