Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove edges and node from parsed data #343

Open
jlukas99 opened this issue Mar 27, 2024 · 2 comments
Open

Remove edges and node from parsed data #343

jlukas99 opened this issue Mar 27, 2024 · 2 comments

Comments

@jlukas99
Copy link

jlukas99 commented Mar 27, 2024

Hi, would it be possible to add an option when parsing data to be without edges and node?

Example:

from

{
    "data": {
        "markers": {
            "edges": [
                {
                    "node": {
                        "addresses": {
                            "edges": [
                                {
                                    "node": {
                                        "geo": {
                                            "lat": 50.2699800871087,
                                            "long": 19.003614752063
                                        }
                                    }
                                },
                                {
                                    "node": {
                                        "geo": {
                                            "lat": 52.296189564637,
                                            "long": 20.9322076727827
                                        }
                                    }
                                }
                            ]
                        }
                    }
                }
            ]
        }
    }
}

to

{
    "data": {
        "markers": [
            {
                "addresses": [
                    {
                        "geo": {
                            "lat": 50.2699800871087,
                            "long": 19.003614752063
                        }
                    },
                    {
                        "geo": {
                            "lat": 52.296189564637,
                            "long": 20.9322076727827
                        }
                    }
                ]
            }
        ]
    }
}
Copy link

👋 @jlukas99
Thank you for raising an issue. I will investigate the issue and get back to you as soon as possible.
Please make sure you have provided enough context.

This library is created and maintained by me, @budde377. Please consider supporting my work and ensure our survival by donating here.

@budde377
Copy link
Contributor

budde377 commented Mar 28, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants