1. Filtering and Projecting Book Titles
Backend DeveloperBackground
A developer needs to extract the titles of all books in a store catalog that cost less than 10 dollars.
Problem
The catalog is nested, and the developer needs to filter by price and then isolate only the title strings.
How to use
Paste the store JSON into the data field, then enter `$..book[?(@.price < 10)]` on the first line of the pipeline and `$[*].title` on the second line.
Pipeline:
$..book[?(@.price < 10)]
$[*].titleOutcome
The tool outputs a list of matching titles: ["Sayings of the Century", "Moby Dick"].