Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 RestSharp 的快乐用户,但是我遇到了休息服务在字符串中返回 & 符号的问题。回应是:
<response> <name>GE Healthcare Austria GmbH & Co OG</name> </response>
<response>
<name>GE Healthcare Austria GmbH & Co OG</name>
</response>
并且 RestSharp 由于&引发异常
该怎么办?
谢谢
这是正常的行为。您必须为 restsharp 编写自己的反序列化器或替换无效符号以使用默认符号。