Class EncryptedJsonWriter

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

public final class EncryptedJsonWriter
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    EncryptedJsonWriter​(boolean indentOutput)  
  • Method Summary

    Modifier and Type Method Description
    void write​(EncryptedWorkspace workspace, java.io.Writer writer)
    Writes an encrypted workspace definition as a JSON string to the specified Writer object.

    Methods inherited from class java.lang.Object

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

  • Method Details

    • write

      public void write​(EncryptedWorkspace workspace, java.io.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