Skip to content

JSON Path support in dropdown rest #773

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

Closed
fvakiliev opened this issue Nov 17, 2017 · 3 comments
Closed

JSON Path support in dropdown rest #773

fvakiliev opened this issue Nov 17, 2017 · 3 comments

Comments

@fvakiliev
Copy link

Currently we can use only a primitive syntax for accessing the Json elements in web-based calls. It would be good to support the syntax of JSONPath (for example: $.leaderboard[*].Team_tag).
Watch here: http://goessner.net/articles/JsonPath/.

Sincerely, OldCat, diligent user ;)

@Nuadire
Copy link

Nuadire commented Mar 27, 2018

A good idea

@tsv2013
Copy link
Member

tsv2013 commented Apr 2, 2018

Thank you for the good suggestion. But existing syntax allows to solve most of real-life tasks (IMHO).

@JaneSjs
Copy link
Contributor

JaneSjs commented May 28, 2025

Hello Everyone,
To achieve this, we recommend that you implement the SurveyModel.onLoadChoicesFromServer function and use a jsonpath library. An example is available at Support jsonpath in choicesByUrl.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants