Skip to main content

to_json

Function to_json 

Source
pub fn to_json(record: &GitMetadataRecord) -> Result<String, Error>
Expand description

Serialize a record as single-line JSON — the <name>.git.json sidecar shape crate::store::SessionStore::save_git_metadata writes (a single-record file, like <name>.reduction.json, not a JSONL log: git state is captured once per session, not once per turn).