阅读背景:

如何在JSON.stringify中保留数字字段

来源:互联网 

I've got code that takes form fields and converts them into a JSON string suitable for passing to a REST API (the marathon REST API specifically). The problem is that JSON.stringify double quotes all the form field values, even those that are numeric, which causes the ajax call to fail. Here's the string my code is producing:I've got code that takes form fields and conver




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

分享到: