xpath selectors with JSON, what's available?
Working with promise chains in Javascript as I do now, it itches in me to make only certain data available to chained promises, in the case where you would like to use a ready made promisified function that actually only expects part of the data that flows through your pipeline.
One way of configuring such a step ought to be to curry it, and in doing so supplying some kind of expression for what data it should process.
Xpath seems to be down this way, but what libraries are available for xpath expressions on JSON? Preferrably in Node.
I have found these so far:
json-path (Work in progress accroding to author) 1254 downloads/month as of today
JSONPath 1726 downloads per month as of today
Defiant.js - Defiantly named something else than Jsonpath. Not on npm site.