名字叫 json-- 其实这个减号也是有意思的,作者原话,翻译不怎么样直接上原文
Why so fast?
The trick that made this sped up is that, it only parses the parts that are in the path, and it skips the parts that is not in the specified path with a simple code without verifying it. This is very experimental, and this skipping might result in an undefined state if it tries to parse an invalid JSON string.
所以取名叫 json-- 了
npm: https://npmjs.org/package/json– github: https://github.com/alFReD-NSH/JSON–