Filter multiple fields in only one JSONPath expression

Viewed 1089

Given the following input JSON:

{
  "a": 1,
  "b": "some root string",
  "c":
  {
    "d": "some inner string"
  }
  "e": "ignored field"
}

Is it possible to obtain the following JSON using a JSONPath expression?

{
  "a": 1,
  "b": "some root string",
  "d": "some inner string"
}

Thank you in advance.

1 Answers
Related