rust.spec_to_json()

Serializes spec to the JSON contract consumed by the Rust backend.

Usage

Source

rust.spec_to_json(spec)