I'm trying to create a navigation menu editor comprised of multiple nested, sortable forms that will ultimately be submitted en masse as one giant nested JSON data blob containing all of the form data.

The two libraries I'm examining are nestableSortable (<https://github.com/mjsarfatti/nestedSortable>) and Nestable (<https://github.com/dbushell/Nestable>). These two libraries seem to be the most commonly used projects for this type of work, however neither seems to have built-in functionality for serializing and nesting these forms. Right now I'm under the assumption that either library will require me to somehow build this functionality myself.

Nestable appears to be a bit newer and doesn't depend on JQuery-UI, while nestableSortable appears to be a bit more feature-rich. I'm also wondering if anyone has had a similar issue with nested forms and whether they have any tips on how to get either of these libraries to easily serialize nested forms into a JSON structure, and whether either of these libraries is better suited for such a project.