xso: Add support for serde_json::Value

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2025-04-07 20:15:44 +02:00 committed by pep
commit ab7e6de3e1
3 changed files with 6 additions and 0 deletions

View file

@ -128,6 +128,9 @@ convert_via_fromstr_and_display! {
jid::DomainPart,
#[cfg(feature = "jid")]
jid::ResourcePart,
#[cfg(feature = "serde_json")]
serde_json::Value,
}
/// Represent a way to encode/decode text data into a Rust type.