and I would like to extract two fields: "version" and "app_version".
I tried with expressions like:
'$.[version,app_version]',
'$[version,app_version]',
'$.version,app_version',
'$version,app_version'
but neither worked.
I always have error like:
Expecting 'STAR', 'IDENTIFIER', 'SCRIPT_EXPRESSION', 'INTEGER', 'END', got '['
I've checked these expressions in evaluator on https://jsonpath.com/ and they worked there.
I have json like this:
and I would like to extract two fields: "version" and "app_version". I tried with expressions like: '$.[version,app_version]', '$[version,app_version]', '$.version,app_version', '$version,app_version' but neither worked. I always have error like:
Expecting 'STAR', 'IDENTIFIER', 'SCRIPT_EXPRESSION', 'INTEGER', 'END', got '['
I've checked these expressions in evaluator on https://jsonpath.com/ and they worked there.
I've looked at Differences from Original Implementation but it doesn't seem to have impact here.