[Bug] json_path
returning string literal \n
when using union operator
#5920
Labels
json_path
returning string literal \n
when using union operator
#5920
Bug Report
Current Behavior
Currently,
json_path
would return the string literal\n
when using union operator ([,]
).Expected Behavior
Instead,
json_path
should return the values with new lines, separated by commas, and contained in brackets ([]
).Additional context/output
I am trying to extract the version and UUID from this JSON https://api.azul.com/metadata/v1/zulu/packages?java_version=17&os=windows&arch=x86&archive_type=zip&java_package_type=jdk&javafx_bundled=false&crac_supported=false&latest=true&page_size=2.
Using this JSON path should returns 4 different values
Currently, the returned value is
However, I don't think this is a feature and trying to the match regex for it would break if this is changed/fixed.
System details
The text was updated successfully, but these errors were encountered: