prompt: We are currently solving the following issue within our repository. Here is the issue text:
  --- BEGIN ISSUE ---
  Need JSON format description
  The page on JSON serialization lacks information about the actual structure of produced data. This make it hard to see if networkx is a suitable tool for a backend of already existing JavaScript front.
  
  http://networkx.lanl.gov/reference/readwrite.json_graph.html
  
  
  --- END ISSUE ---
  
  Below are some code segments, each from a relevant file. One or more of these files may contain bugs.
  --- BEGIN FILES ---
  Path: `networkx/readwrite/json_graph/__init__.py`
  Content:
  ```
  1 """
  2 *********
  3 JSON data 
  4 *********
  5 Generate and parse JSON serializable data for NetworkX graphs.
  6 """
  7 from networkx.readwrite.json_graph.node_link import *
  8 from networkx.readwrite.json_graph.adjacency import *
  9 from networkx.readwrite.json_graph.tree import *
  10 from networkx.readwrite.json_graph.serialize import *
  11
  ```
  --- END FILES ---
  
  Please first localize the bug based on the issue statement, and then generate a patch according to the `git diff` format fenced by three backticks.
  
  Here is an example:
  
  ```diff
  diff --git a/examples/server_async.py b/examples/server_async.py
  --- a/examples/server_async.py
  +++ b/examples/server_async.py
  @@ -313,4 +313,4 @@
   
   
   if __name__ == "__main__":
  -    asyncio.run(run_async_server("."), debug=True)
  +    asyncio.run(run_async_server(), debug=True)
  diff --git a/examples/server_sync.py b/examples/server_sync.py
  --- a/examples/server_sync.py
  +++ b/examples/server_sync.py
  @@ -313,5 +313,5 @@
   
   
   if __name__ == "__main__":
  -    server = run_sync_server(".")
  +    server = run_sync_server()
       server.shutdown()
  
  ```
  
golden_diff: diff --git a/networkx/readwrite/json_graph/__init__.py b/networkx/readwrite/json_graph/__init__.py
  --- a/networkx/readwrite/json_graph/__init__.py
  +++ b/networkx/readwrite/json_graph/__init__.py
  @@ -1,8 +1,16 @@
   """
   *********
  -JSON data 
  +JSON data
   *********
   Generate and parse JSON serializable data for NetworkX graphs.
  +
  +These formats are suitable for use with the d3.js examples http://d3js.org/
  +
  +The three formats that you can generate with NetworkX are:
  +
  + - node-link like in the d3.js example http://bl.ocks.org/mbostock/4062045
  + - tree like in the d3.js example http://bl.ocks.org/mbostock/4063550
  + - adjacency like in the d3.js example http://bost.ocks.org/mike/miserables/
   """
   from networkx.readwrite.json_graph.node_link import *
   from networkx.readwrite.json_graph.adjacency import *
  
verification_info: {"golden_diff": "diff --git a/networkx/readwrite/json_graph/__init__.py b/networkx/readwrite/json_graph/__init__.py\n--- a/networkx/readwrite/json_graph/__init__.py\n+++ b/networkx/readwrite/json_graph/__init__.py\n@@ -1,8 +1,16 @@\n \"\"\"\n *********\n-JSON data \n+JSON data\n *********\n Generate and parse JSON serializable data for NetworkX graphs.\n+\n+These formats are suitable for use with the d3.js examples http://d3js.org/\n+\n+The three formats that you can generate with NetworkX are:\n+\n+ - node-link like in the d3.js example http://bl.ocks.org/mbostock/4062045\n+ - tree like in the d3.js example http://bl.ocks.org/mbostock/4063550\n+ - adjacency like in the d3.js example http://bost.ocks.org/mike/miserables/\n \"\"\"\n from networkx.readwrite.json_graph.node_link import *\n from networkx.readwrite.json_graph.adjacency import *\n", "issue": "Need JSON format description\nThe page on JSON serialization lacks information about the actual structure of produced data. This make it hard to see if networkx is a suitable tool for a backend of already existing JavaScript front.\n\nhttp://networkx.lanl.gov/reference/readwrite.json_graph.html\n\n", "before_files": [{"content": "\"\"\"\n*********\nJSON data \n*********\nGenerate and parse JSON serializable data for NetworkX graphs.\n\"\"\"\nfrom networkx.readwrite.json_graph.node_link import *\nfrom networkx.readwrite.json_graph.adjacency import *\nfrom networkx.readwrite.json_graph.tree import *\nfrom networkx.readwrite.json_graph.serialize import *\n", "path": "networkx/readwrite/json_graph/__init__.py"}], "after_files": [{"content": "\"\"\"\n*********\nJSON data\n*********\nGenerate and parse JSON serializable data for NetworkX graphs.\n\nThese formats are suitable for use with the d3.js examples http://d3js.org/\n\nThe three formats that you can generate with NetworkX are:\n\n - node-link like in the d3.js example http://bl.ocks.org/mbostock/4062045\n - tree like in the d3.js example http://bl.ocks.org/mbostock/4063550\n - adjacency like in the d3.js example http://bost.ocks.org/mike/miserables/\n\"\"\"\nfrom networkx.readwrite.json_graph.node_link import *\nfrom networkx.readwrite.json_graph.adjacency import *\nfrom networkx.readwrite.json_graph.tree import *\nfrom networkx.readwrite.json_graph.serialize import *\n", "path": "networkx/readwrite/json_graph/__init__.py"}]}