JSON PATH avatar

JSON PATH

Try for free

3 days trial then $10.00/month - No credit card required now

View all Actors
JSON PATH

JSON PATH

dtrungtin/jsonpath
Try for free

3 days trial then $10.00/month - No credit card required now

Analyse, transform, and selectively extract data from JSON documents (and JavaScript objects).

Analyse, transform, and selectively extract data from JSON documents (and JavaScript objects). Try to test the json path valid or not at the json path online https://jsonpath.com/

Input example

1{
2    "jsonPath": "$[?(@.price>15000000)]",
3    "transformFunction": "$ => ({ name: $.name, sku: $.sku })",
4    "url": "https://api.apify.com/v2/datasets/P88peu2dDFe53hdMK/items?clean=true&format=json"
5}

Output example

The output has only items with price is greater than 15 millions and will only two properties (name, sku)

1[{
2  "name": "Apple iPhone 13",
3  "sku": "5447919661404"
4},
5{
6  "name": "Apple iPhone 11",
7  "sku": "5679549432792"
8}]
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 0 stars
  • 87.1% runs succeeded
  • Created in Oct 2024
  • Modified 18 days ago