Skip to content
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

JSON filtering #355

Open
dantownsend opened this issue Nov 18, 2023 · 0 comments
Open

JSON filtering #355

dantownsend opened this issue Nov 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@dantownsend
Copy link
Member

It would be pretty cool to be able to filter the JSON.

The challenge with JSON is it could be infinitely nested.

{
    "facilities": {
        "room_1": {
            "microphone": true
        }
    }
}

So If you wanted to filter this the UI would have to let you specify that facilities -> room_1 -> microphone == true.

The query that gets submitted to Piccolo API would have to be some kind of JSON payload like:

{
    "path": ["facilities", "room_1", "microphone"],
    "value": true
}

This is what the UI could potentially look like:

piccolo_admin_json_filtering

@dantownsend dantownsend added the enhancement New feature or request label Nov 18, 2023
@dantownsend dantownsend added this to To do in Enhancements via automation Nov 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Development

No branches or pull requests

1 participant