Class EncryptedJsonWriter

java.lang.Object
com.structurizr.io.json.EncryptedJsonWriter

public final class EncryptedJsonWriter extends Object
  • Constructor Details

    • EncryptedJsonWriter

      public EncryptedJsonWriter(boolean indentOutput)
  • Method Details

    • write

      public void write(EncryptedWorkspace workspace, Writer writer) throws WorkspaceWriterException
      Writes an encrypted workspace definition as a JSON string to the specified Writer object.
      Parameters:
      workspace - the Workspace object to write
      writer - the Writer object to write the workspace to
      Throws:
      WorkspaceWriterException - if something goes wrong