Skip to content

Flatten flate strings as well #4

@MrGueest

Description

@MrGueest

unlike the playground in python the flatten function flate the strings here the output from the playground vs the output from python of the same query and input data.
input:
["foo", "bar" , [{"text":"buz qux"}]]
query:
flatten() | filter(not(exists(.text)))
1 - playground:
["foo", "bar"]
2- python:
['f', 'o', 'o', 'b', 'a', 'r']

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions