Skip to content

Serialize Anonymous Arrays #10

@secretlyagoblin

Description

@secretlyagoblin

Say I'm working with GeoJson and want to build something quickly without a full plugin, and I want to define a multipolygon. This has the structure

"coordinates": [
        [
            [[40.0, 40.0], [20.0, 45.0], [45.0, 30.0], [40.0, 40.0]]
        ], 
        [
            [[20.0, 35.0], [10.0, 30.0], [10.0, 10.0], [30.0, 5.0], [45.0, 20.0], [20.0, 35.0]], 
            [[30.0, 20.0], [20.0, 15.0], [20.0, 25.0], [30.0, 20.0]]
        ]
    ]

We could achieve this either through a standalone node, or possibly using a special case rejson node with one input named "[]"

image

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