Places:JSONSerialization

When items such as bookmarks or folders are copied or dragged in the Places system, they're passed around as a serialized Javascript object.

Folder nodes:

{ folder: {item node for the folder},

 children: [],
 type: self.TYPE_X_MOZ_PLACE_CONTAINER

}

Item nodes:

{

 id: int64,
 title: string,
 parent: int64,
 index: int32,
 annos: [
 ],
 type: string

}

Bookmark-specific node properties:

uri: string keyword: string

Livemark-specific node properties:

uri: { feed: feedURI, site: siteURI }