get json去掉双引号、斜杠等字符
问题:——商户登录接口返回的参数,获取时带双引号,tuer跟tenant信息,所以后面用的时候还要专门注意,很麻烦。
——返回体里 get json value 有双引号 ,Dictionary的没有
解决方法:
python里的用法 s.strip()
文档:http://www.cnblogs.com/kaituorensheng/archive/2013/05/23/3096028.html
get json去掉双引号、斜杠等字符
问题:——商户登录接口返回的参数,获取时带双引号,tuer跟tenant信息,所以后面用的时候还要专门注意,很麻烦。
——返回体里 get json value 有双引号 ,Dictionary的没有
解决方法:
python里的用法 s.strip()
文档:http://www.cnblogs.com/kaituorensheng/archive/2013/05/23/3096028.html
相关文章: