Skip to main content

CustomMethodData

@iota/identity-wasm API documentation


Class: CustomMethodData

A custom verification method data format.

Methods​

toJSON()​

Call Signature​

toJSON(): Object

  • Return copy of self without private attributes.
Returns​

Object

Call Signature​

toJSON(): any

Serializes this to a JSON object.

Returns​

any


toString()​

toString(): string

Return stringified version of self.

Returns​

string


clone()​

clone(): CustomMethodData

Deep clones the object.

Returns​

CustomMethodData


fromJSON()​

static fromJSON(json): CustomMethodData

Deserializes an instance from a JSON object.

Parameters​

json​

any

Returns​

CustomMethodData