Package web5.sdk.dids

Object Document.Companion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Document fromJsonString(String json) Converts a JSON string into a Document object.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • fromJsonString

         final Document fromJsonString(String json)

        Converts a JSON string into a Document object.

        This method parses a JSON string and constructs a Document instance from the parsed data. It uses Rust core functionality to handle the underlying parsing.

        Parameters:
        json - The JSON string representing the DID document.
        Returns:

        A Document object.