Development
Interaktiver JSONPath-REPL
Eine interaktive JSONPath-REPL, die mehrstufe Abfrage-Pipelines auf jedem JSON ausführt. Schreiben Sie einen JSONPath-Ausdruck pro Zeile (z. B. $..book[?(@.price<10)] dann $[0:5]) und sehen Sie die Treffer jedes Schritts mit Anzahlen, Pfaden und Werten — plus eine teilbare URL, die Ihre Daten und Pipeline kodiert. Unterstützt rekursiven Abstieg ($..), Wildcards ([*]), Filter ([?(@.price<10)]), Slices ([0:5:2]) und negative Indizes.
Schnellstart
Rufen Sie dieses Werkzeug aus Ihrem Code in drei Sprachen auf.
curl -X POST 'https://api.elysiatools.com/de/api/tools/jsonpath-repl-playground' \
-H 'Content-Type: application/json' \
-d '{"json":"{\n \"store\": {\n \"book\": [\n { \"category\": \"reference\", \"author\": \"Nigel Rees\", \"title\": \"Sayings of the Century\", \"price\": 8.95 },\n { \"category\": \"fiction\", \"author\": \"Evelyn Waugh\", \"title\": \"Sword of Honour\", \"price\": 12.99 },\n { \"category\": \"fiction\", \"author\": \"Herman Melville\", \"title\": \"Moby Dick\", \"price\": 8.99 },\n { \"category\": \"fiction\", \"author\": \"J. R. R. Tolkien\", \"title\": \"The Lord of the Rings\", \"price\": 22.99 }\n ],\n \"bicycle\": { \"color\": \"red\", \"price\": 19.95 }\n }\n}","pipeline":"$..book[?(@.price < 10)]\n$[*].title","mode":"values","maxResults":100,"historyTitle":"Cheap books — titles"}'