Bindwood uses bare lists for .children elements of folders (written contra spec, I know), and takes its own pains to handle merges. I'd prefer a solution like Eric's so that clients which can deal with pure JSON lists don't have to be bulked up to account for this extra behavior.
Bindwood uses bare lists for .children elements of folders (written contra spec, I know), and takes its own pains to handle merges. I'd prefer a solution like Eric's so that clients which can deal with pure JSON lists don't have to be bulked up to account for this extra behavior.