阅读背景:

有没有办法在RobotFramework中进行比较之前删除JSON回复中的空格?

来源:互联网 

I am receiving a JSON reply using HTTP-Post with the RobotFramework HttpLibray, the issue I have with some returned data is value's sometimes get returned with extra spaces in the value. I'd like to be able to strip out trailing spaces in the values before doing a JSON compare, and I would like to keep the JSON format after stripping out any trailing white spaces. I do a compare against an expected response so I want to keep the format for comparison.I am receiving a JSON reply using HTTP-Post wit




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: