[英]Json Special Characters
I have a json object which contains some values that include some special chracter. 我有一个json对象,其中包含一些包含特殊字符的值。 For example
{UserName":"UserTest","Password":"OImqNlK/tLwUzKnt1rA1OA=="}
例如
{UserName":"UserTest","Password":"OImqNlK/tLwUzKnt1rA1OA=="}
I use it as an object parameter to call to web Api but I can't get it on Api server. 我将其用作调用Web Api的对象参数,但无法在Api服务器上获取它。
it works fine if I remove the special characters. 如果删除特殊字符,它会很好地工作。 For example:
例如:
{UserName":"UserTest","Password":"OImqNlKtLwUzKnt1rA1OA"}
Please help me fix it. 请帮我修复它。 Many thanks!
非常感谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.