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

support json #55

Open
SudoDios opened this issue Dec 7, 2020 · 3 comments
Open

support json #55

SudoDios opened this issue Dec 7, 2020 · 3 comments

Comments

@SudoDios
Copy link

SudoDios commented Dec 7, 2020

Please add feature to create list from json.
Thanks

@SudoDios
Copy link
Author

SudoDios commented Dec 7, 2020

how to move items ?

@SudoDios
Copy link
Author

SudoDios commented Dec 7, 2020

How to remove item (s) ?
How to update item ?

@KnIfER
Copy link

KnIfER commented May 13, 2021

Use fastJson to parse the file . Use custom Node class

Node{ JSONObject content; ArrayList childrenList; JSONArray children. }

Parse the root json object recursively, parse it into a root Node. While modifying the data, also apply it to the original json content and children nodes.

Sort, expand, move, piece of a cake.

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