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

Add support for Json Path #171

@sky-asarabuga

Description

@sky-asarabuga

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions