Skip to content
This repository has been archived by the owner on Mar 20, 2023. It is now read-only.

Add support for Json Path #171

Open
sky-asarabuga opened this issue Feb 9, 2017 · 0 comments
Open

Add support for Json Path #171

sky-asarabuga opened this issue Feb 9, 2017 · 0 comments

Comments

@sky-asarabuga
Copy link

sky-asarabuga commented Feb 9, 2017

Sometimes we need to see only some specific properties in response.

It would be nice to have some textbox where we can put a JSONPath Syntax and the response panel show only the evaluation result.

Example:

{
  "firstName": "John",
  "lastName" : "doe",
  "age"      : 26,
  "address"  : {
    "streetAddress": "naist street",
    "city"         : "Nara",
    "postalCode"   : "630-0192"
  },
  "phoneNumbers": [
    {
      "type"  : "iPhone",
      "number": "0123-4567-8888"
    },
    {
      "type"  : "home",
      "number": "0123-4567-8910"
    }
  ]
}

JSONPath Syntax
$.phoneNumbers[*].number

Evaluation Results
'0' => "0123-4567-8888" '1' => "0123-4567-8910"

Check it online in: JSONPath Online Evaluator

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant