Skip to content

How to escape/de-descape with SerdeΒ #720

@phdavis1027

Description

@phdavis1027

Sorry if I'm spamming with question; my project involves implementing a very complicated XML-encoded protocol so y'all will likely be hearing a lot from me lol.

I just now started sending messages that require escaping and was surprised to find that se::to_string doesn't escape " or ' (I haven't tried other characters) by default. Is there a way to enable this or will I have to get into more low-level APIs for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions