Traversing nested data-structures in various languages

This page summarizes the projects mentioned and recommended in the original post on news.ycombinator.com

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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...

  • virt-v2v

    Virt-v2v converts guests from foreign hypervisors to run on KVM

  • 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...

  • 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.

    InfluxDB logo
  • specter

    Clojure(Script)'s missing piece

  • 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

    Java JsonPath implementation

  • 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

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Refactoring Toward Configurability

    1 project | dev.to | 26 Feb 2024
  • FLaNK Stack Weekly for 24April2023

    7 projects | dev.to | 25 Apr 2023
  • Quick question: Care e faza cu a fi crab?

    6 projects | /r/programare | 17 Feb 2023
  • Pentru cine e interesat de manipularea descriptivă a formatelor JSON am făcut mapneat

    1 project | /r/programare | 27 Dec 2022
  • De ce inginerii buni se simt plafonati in companiile din Ro?

    1 project | /r/programare | 2 Sep 2022