Skip to content

Failed to serialize JSON-LD to text

Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/mif-cli-json-serialize-failure/v1 HTTP status: 500 Exit code: 1 Emitted by: mif-cli (CliError::JsonSerialize)

failed to serialize JSON-LD: {source}

mif-cli emit-jsonld computed a JSON-LD projection but serde_json failed to serialize it back to text. In practice this should not occur for a document that was itself successfully parsed from JSON, but the failure path exists for defense in depth.

No suggested fix or code action is attached to this variant — the emitted envelope carries only the standard RFC 9457 members plus exit_code.