0.1.0 • Published 7 years ago
large-json-js v0.1.0
large-json-js
These two functions are aimed to replace the default JSON.stringify
and JSON.parse
. The size of target JSON files are among 100MiB and 400Mib.
You have to conduct sufficient tests before using these two functions. They're not written under strict JSON standard.
read_json
(filepath, encoding, callback) => {}
encoding: default utf-8
write_json
(filepath, data, callback) => {}
callback: data => {}
TODO
- Although
read_json
won't crash, but it's still too slow in compare to thewrite_json
.
0.1.0
7 years ago