Skip to content

Filtering recursive by key? #34

Description

@kdezz

I've a situation in which I don't know the keys, for example I have a structure that might look something like this:

{
	"robots": {
		"random_robot_id_39422": {
			"robot_information": 8338
		},
		"random_robot_id_39434": {
			"robot_information": 8113
		},
		"random_robot_id_23823": {
			"robot_information": 8058
		},
		"random_robot_id_97434": {
			"robot_information": 3328
		},
		"random_robot_id_17343": {
			"robot_information": 1001
		}
	}
}

What would be the best way to filter by the ID of the key? For example, if I wanted to retrieve the random_robot_id_17343 node.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersquestionFurther information is requested

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions