QS.SNAPSHOT.TO.JSON

Serializes native snapshot inputs as JSON text; errors if Excel’s 32767 UTF-16-unit cell limit is exceeded

Category: QuantSupport - Market.

QS.SNAPSHOT.TO.JSON(store: text) → text
Parameters:
  • store (text) – Current MarketSnapshotStore handle from QS.SNAPSHOT.ARCHIVE or QS.SNAPSHOT.FROM.JSON

Returns:

Native snapshot-array JSON text for Python/Rust interoperability. Includes quote observations and curve configurations, excluding fixing histories, runtime curves, and AD state.

Return Type:

text

Errors:

#VALUE! for malformed, missing, stale, or wrong-type archive handles, serialization failures, or JSON exceeding Excel’s 32767 UTF-16-unit cell limit.

Formula

=QS.SNAPSHOT.TO.JSON(store)

Calculation

Runs on Excel’s main calculation thread.

Native Declaration

fn qs_snapshots_to_json (store : & str) -> Result < String , XllError >

Rust source