Skip to content

[JsonPath] Fix support for comma separated indices #60719

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

alexandre-daubois
Copy link
Member

Q A
Branch? 7.3
Bug fix? yes
New feature? no
Deprecations? no
Issues -
License MIT

Fix supporting multiple indices separated with commas with expressions like $[0, 2, 'a,b,c', -1] (which would fetch, respectively the first, third, last elements and the one with index a,b,c).

@carsonbot carsonbot added this to the 7.3 milestone Jun 5, 2025
@alexandre-daubois alexandre-daubois force-pushed the json-path-comma-separated-indices branch from 406de60 to d037f93 Compare June 5, 2025 17:20
@alexandre-daubois alexandre-daubois force-pushed the json-path-comma-separated-indices branch from d037f93 to 321bdf8 Compare June 6, 2025 07:28
@chalasr
Copy link
Member

chalasr commented Jun 11, 2025

Thank you @alexandre-daubois.

@chalasr chalasr merged commit 623c52b into symfony:7.3 Jun 11, 2025
9 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants