Question: Given a JSON like:

```json
{
  "a":1,
  "b":2,
  "c":3,
  "d":4,
  "e":5
}

```

How can I select out `b`, `d` and `e` to get the following JSON?

```json
{
  "b":2,
  "d":4,
  "e":5
}

```

I want a JSON object and NOT only `2`, `4` and `5` values?

This is what I'm trying with and failing:

```none
$.[b,d,e]

```

Answer: 
Elements must be in single quotes.

```
$.['b','d','e']

```

*Works fine for JsonPath from com.jayway.jsonpath:json-path:2.4.0*
Your json path is correct, while `json` it self is not. It should be:

```
{
"a":1,
"b":2,
"c":3,
"d":4,
"e":5
}

```

BTW there is good online testing resources for these purposes: <http://jsonpath.com/>