I have a list of menus as follows When I move the menus using the Nestable library, an object is sent to the backend as shown below. How can I save it in the database?
[{"id":1},{"id":2,"children":[{"id":3},{"id":4},{"id":5,"children":[{"id":6},{"id":7},{"id":8}]},{"id":9},{"id":10}]},{"id":11},{"id":12}]

