andykais / scrape-pages

generalized scraper using a single instruction set for any site that can be statically scraped
https://scrape-pages.js.org
MIT License
6 stars 2 forks source link

add json parser #23

Closed andykais closed 4 years ago

andykais commented 5 years ago

, see perf tests to choose which.

andykais commented 5 years ago

going with jsonpath-plus. In the future I may choose a streaming parser, but for now the api is not modular enough for it

andykais commented 4 years ago

a collection of all the major json query libraries: burningtree/awesome-json#queries

I like jsonata as of now. It has the most active development, and most straightforward syntax. (though it includes way more util functions than we need). Performance may need to be considered https://github.com/jsonata-js/jsonata/issues/237 though. A good benchmark does not exist currently