阅读背景:

node.js JSON.parse reviver不报告重复键?

来源:互联网 

I'm trying to use a JSON parser which will detect and save duplicate keys. I'm using JSON.parse() in node.js with a reviver, which I am hoping will tell me when I'm getting a duplicate key. However it doesn't. Is there another way? Is there a better JSON parser which handles duplicate keys in a reviver or other argument?I'm trying to use a JSON parser which will dete




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

分享到: