Class EncryptedJsonWriter
- Namespace
- C4.Net.Encryption
- Assembly
- C4.Net.Client.dll
Serializes encrypted workspace instances to JSON.
public class EncryptedJsonWriter
- Inheritance
-
EncryptedJsonWriter
- Inherited Members
Constructors
EncryptedJsonWriter(bool)
Creates a writer for encrypted workspace JSON.
public EncryptedJsonWriter(bool indentOutput)
Parameters
indentOutputboolWhether generated JSON should be indented.
Properties
IndentOutput
Controls whether generated JSON should be indented for readability.
public bool IndentOutput { get; set; }
Property Value
Methods
Write(EncryptedWorkspace, StringWriter)
Writes an encrypted workspace as JSON.
public void Write(EncryptedWorkspace workspace, StringWriter writer)
Parameters
workspaceEncryptedWorkspaceThe encrypted workspace to serialize.
writerStringWriterThe writer that receives the JSON payload.