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.
Parameters
Section titled “Parameters”| Parameter | Type | Default value | Description |
|---|---|---|---|
manifest | RemoteManifest | undefined | Manifest snapshot to serialize. |
indent | number | 2 | Optional indentation passed to JSON.stringify. Defaults to 2. |
Returns
Section titled “Returns”string
Stable JSON representation of the manifest.