Skip to content

How to iterate inside the values ? #1377

@tnechaev

Description

@tnechaev

I have json file with the following structure: {"123456": [[1, 4], [66, 75]], "224935": [[3, 129],[153,162],[184,197]]}, where values define intervals of numbers ( [1,4] stands for 1,2,3,4 and so one). What I need is to obtain pairs key--number from each interval in the corresponding value (to compare these pairs with some other pairs of numbers). It seems for this I should iterate not only through keys, but inside the values somehow. How can I do so?

Thanks in advance!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions