Skip to content

How to filter using JSON object instead of array as a source? #36

@AdrianoCahete

Description

@AdrianoCahete

Using the JSON as source, I see that we can filter and search by key. But how I do this if my JSON source is not an array, but an object?

My current source is something like that (you can ignore the id, I don't want to show/search for) and I'm following the documentation (list works well):

Edit: Search does not work either.

[
  {
    "0": {
      "path": "xxxxxxxxxxxxxxxxxxxx",
      "type": "file",
      "sha": "1111111111111111",
      "url": "https://xxxxxxxxxxxxxxxxxxxx"
    },
    "1":  {
      "path": "yyyyyyyyyyyyyy",
      "type": "file",
      "sha": "00000000000",
      "url": "https://yyyyyyyyyyyyyyy"
    }
  }
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions