A value could not be serialized to JSON
Type URI: https://modeled-information-format.github.io/mif-rs/references/errors/json-serialize-failure/v1
HTTP status: 500
Exit code: 1
Emitted by: mif-rh (MifRhError::JsonSerialize)
Message
Section titled “Message”failed to serialize {path} as JSON: {source}This fires when a value cannot be serialized to JSON immediately before an
atomic write. It indicates a bug in the value’s Serialize implementation —
for example a non-finite float — rather than anything a caller can fix by
changing its input; the file at {path} was never written because the
serialization step failed before the write could happen.
Suggested fix
Section titled “Suggested fix”Unspecified — this indicates a bug in mif-rh: a value could not be serialized to JSON. Report it upstream with the record that triggered it; no caller-side fix exists.