-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
Just wanting to say that all Javascript solutions are quite 'bad', except the simple for-of, because they're combining pure array methods (.map, .reduce) and side-effects (external variable to that method), not even talking about this https://github.com/josevalim/nested-data-structure-traversal...
XPath is the real killer feature for XML. I don't think it's possible to use it in this particular example, but in the more generally useful cases where you want to pull (eg) all subnodes with key matching a particular string, XPath is great.
Here's it being used in real code (search for "xpath_"):
https://github.com/libguestfs/virt-v2v/blob/master/v2v/parse...
https://github.com/libguestfs/virt-v2v/blob/master/v2v/parse...
Clojure also has some third party libraries like Specter [1] that make nested traversal and mutation very succinct and performant.
The author of Specter goes so far as to label traversal/update of deep immutable structures as "Clojure's Missing Piece".
[1] https://github.com/redplanetlabs/specter
JSONPath confers pretty much the same concept onto JSON too with much the same syntax. There are JPath implementations for most languages now.
> https://github.com/json-path/JsonPath