fromJson

Creates a new instance of DIDDocPeerDID from the given DID Doc JSON.

Return

DIDDocPeerDID instance

Parameters

value

DID Doc JSON

Throws

if the input DID Doc JSON is not a valid peerdid DID Doc