Skip to content

Conversation

@wrobelda
Copy link
Contributor

@wrobelda wrobelda commented Sep 3, 2025

Uses JMESPath to extract values from any JSON content provided.

JMESPath was chosen over the arguably more popular JSONPath because the former supports queries with functions, including concatenation (join()), which in turn should be helpful in generation of the parameter strings.

Note that I heavily relied on AI here, but the result looks OK to me.

@github-actions
Copy link

github-actions bot commented Sep 3, 2025

Pull request artifacts

Bridge Context Status
JSON 1 untitled (pr) Bridge returned error 500! (20334)
Type: Exception
Message: Root JMESPath must return an array or an object

last change: Wednesday 2025-09-03 12:50:42

@dvikan
Copy link
Contributor

dvikan commented Sep 12, 2025

i dont want to add a thirdparty dep at this point in time

@wrobelda
Copy link
Contributor Author

wrobelda commented Oct 23, 2025

i dont want to add a thirdparty dep at this point in time

I am afraid it would be impossible to add support for JSON otherwise, as PHP does not come with any sort of JSON query support. For what it's worth, that library is offered directly by the https://jmespath.org/, who maintain several other libraries, and most of these libraries are basically "complete".

@Mynacol Mynacol added the Bridge-Request Request for a new bridge label Oct 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bridge-Request Request for a new bridge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants