Skip to content

Conversation

@elwafa
Copy link
Member

@elwafa elwafa commented Feb 12, 2025

Release Goal:

Needs:

  • Update composer version

Closes #20

* feat(validation): Support array indexing in JSON path validation

- Updated the JSON path validation regex to allow array indexing (e.g., `$.data[0].attribute`).
- Ensured compatibility with dot notation for nested objects (e.g., `$.data.object.attribute`).
- Improved validation to support mixed array and object paths (e.g., `$.data[0].nested[2].value`).
- Added stricter checks to prevent malformed paths.
@elwafa elwafa merged commit 66063c3 into main Feb 12, 2025
14 checks passed
@elwafa elwafa deleted the release/v0.9.1 branch February 12, 2025 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support JSON Extractors with Array Indexing in PHP SDK

2 participants