Hacker News new | ask | show | jobs
by hrdwdmrbl 2679 days ago
Would it be possible to make a native module out of this for node?
1 comments

Here's the node bindings for rapid json, I'm assuming it would be similar.

https://github.com/matthewpalmer/node-rapidjson

Thank you!

Though from the readme on that module the dev says "it turns out that you’re better off using the normal Node.js/V8 implementation unless you’re operating on huge JSON.

... the bridging from V8 to C++ is a bit too costly at this stage."

That was two years ago though, not sure what improvements the N-API has in newer versions of nodejs.