Re:JavaScript query language to perform complex object searches
by smizell on Monday September 21, 2015 @11:23PM
(#10256467)
Or you could actually use XPath :)
https://www-01.ibm.com/support/knowledgecenter/SS9H2Y_7.1.0/...
JSPath: https://github.com/dfilatov/jspath
JSONPath: https://github.com/s3u/JSONPath
(Since you don't have type safety in JS, I don't think you lose much by using strings, unless you want to wrap it in TypeScript.)