News for hackers. Stuff that matters.
Re:How to Use JSON Path by lizmat on Saturday May 04, 2024 @05:46AM (#40256245)
The Raku programming language has, with some tweaks:

    data.store.book.grep(*.price < 10).map(*.title)
Although personally I would write that as:

    data.store.book.map: { .title if .price < 10 }
which combines the filter / map into a single operation.

https://raku.org

There are no comments on this comment yet.