We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I currently have the problem that serializing types that serialize to text are not placed inline but on their own line. Example:
use uuid::Uuid; #[derive(From, Debug, Serialize, Deserialize)] pub struct Guid { #[serde(rename = "@type")] pub id_type: String, #[serde(with = "simple_uuid")] #[serde(rename = "$text")] pub id: Uuid, }
is serialized to (when the guid field is named "book:id"):
<book:id type="guid"> 3e114c9829ce41728902866e39b4e5c7 </book:id>
The required formatting for the target application is:
<book:id type="guid">3e114c9829ce41728902866e39b4e5c7</book:id>
I haven't found a way to change this behavior. Great regards RedIODev
The text was updated successfully, but these errors were encountered:
Duplicate of #729
Sorry, something went wrong.
No branches or pull requests
I currently have the problem that serializing types that serialize to text are not placed inline but on their own line.
Example:
is serialized to (when the guid field is named "book:id"):
The required formatting for the target application is:
I haven't found a way to change this behavior.
Great regards
RedIODev
The text was updated successfully, but these errors were encountered: