Hello,
I noticed today what seems to be a bug.

Using  JSON PATH :
$.[state,city]

It fails with:
com.jayway.jsonpath.InvalidPathException: Could not parse token starting at
position 2. Expected ?, ', 0-9, *

I opened a bug for it:

   - https://github.com/jayway/JsonPath/issues/278


Do you confirm this is a correct expression as per
http://goessner.net/articles/JsonPath/:

[,] Union operator in XPath results in a combination of node sets. JSONPath
allows alternate names or array indices as a set.

Thanks

Regards

Philippe M.

Reply via email to