The name is JSONEncode, so this must be serialisation, and indeed that
is true of both the construction sites.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
SVGProcessingFailed(#[from] SVGProcessingError),
#[error("String formatting error {0}")]
StringFormatting(#[from] fmt::Error),
- #[error("JSON deserialisation error: {0:?}")]
+ #[error("JSON serialisation error: {0:?}")]
JSONEncode(serde_json::Error),
#[error("Server error: {}", .0.d())]
Anyhow(#[from] anyhow::Error),