Skip to content

serializeRemoteManifest

function serializeRemoteManifest(manifest: RemoteManifest, indent?: number): string;

Defined in: src/sync/manifest.ts:139

Serializes a manifest to a JSON string suitable for persistence.

ParameterTypeDefault valueDescription
manifestRemoteManifestundefinedManifest snapshot to serialize.
indentnumber2Optional indentation passed to JSON.stringify. Defaults to 2.

string

Stable JSON representation of the manifest.