Table of Contents

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

indentOutput bool

Whether generated JSON should be indented.

Properties

IndentOutput

Controls whether generated JSON should be indented for readability.

public bool IndentOutput { get; set; }

Property Value

bool

Methods

Write(EncryptedWorkspace, StringWriter)

Writes an encrypted workspace as JSON.

public void Write(EncryptedWorkspace workspace, StringWriter writer)

Parameters

workspace EncryptedWorkspace

The encrypted workspace to serialize.

writer StringWriter

The writer that receives the JSON payload.