Thank you very much, Dimitre, for these explanations. As Thomas pointed out, the data do *not* communicate object identities and therefore your statement that two (JSON) objects represent the same (graph) object is arbitrary. It might be true in the context of an application, but it cannot be upheld as a statement about JSON and its capabilities.
The picture could be changed, of course, by introducing object-identifying data, e.g.
"objectID" : "O104829401759"
And then it would be a serialization option whether to unfold the object data only once, at every occurrence (as in your example), or nowhere. So far, so good, But this has nothing to do with JSON, as these data suggest:
<list1>
<book graph:objectID="O104829401759">
<title>TheGiver</title>
<list2>
<book graph:objectID="O104829401759">
<title>TheGiver</title>
You might argue that in XML, two <book> elements with the same @graph:objectID are nevertheless two distinct nodes. But I think this is irrelevant: the mapping of nodes (= entities capturing the information found in the markup) to objects in a graph is already the next plane of semantics, and there is nothing to stop us from representing a given object by several nodes.
JSON and XML are both based on containment, and it seems that other relationship can only be expessed by key/keyref data.
So JSON and XML can both express graphs if - and probably only if - including such data. (RDF/XML is an example - @rdf:resource.) You seem to think that JSON is better suited for expressing graphs than XML. That is very interesting, and if it is "true", the trueness would consist in an information model describing the parsing of JSON data into graph data and the serialization of graph data into JSON data. The key question in the context of this discussion would be whether this model would not be compatible with XML data as well. The fact that JSON data can be mapped to XML in a fairly straightforward and roundtrippable way seems to imply this - no?
JSON or XML, not important: the challenge of reconciling the neatness and readibility of trees with the realism of free associations between tree nodes (within- and cross-tree) might be very important indeed.
Cheers,
Hans-Juergen