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

Tree Data Structure -- Nested Lists #9

Closed
joeleaver opened this issue May 11, 2015 · 2 comments
Closed

Tree Data Structure -- Nested Lists #9

joeleaver opened this issue May 11, 2015 · 2 comments

Comments

@joeleaver
Copy link

I need to implement a tree-type data structure, a list of nested lists. As json0 stands today, from what I understand from reading the code, moving a list element from one list to another is not yet supported. Is this correct? Should I, instead, remove the list element, and re-insert it at the correct position in the destination list? Has anyone else implemented this? Advice/pointers much appreciated.

@nornagon
Copy link
Contributor

That's correct, json0 does not support moving elements around a tree. The json2 type (not yet implemented) will support this (cc @josephg)

@josephg
Copy link
Member

josephg commented May 29, 2015

Yep. The spec for the new type is here, but it hasn't been implemented yet. Take a read of the new spec - now's the time for comments.

@josephg josephg closed this as completed May 29, 2015
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

3 participants