class_docstr: ExportedApi is a collection of ExportedSymbols.
class_docstr_tok: ["ExportedApi","is","a","collection","of","ExportedSymbols","."]
code: def __str__(self) -> str:
      return json.dumps(
          {
              "docs": [d._asdict() for d in sorted(self.docs)],
              "symbols": [s._asdict() for s in sorted(self.symbols)],
          }
      )
  
imports: from collections.abc import Iterable, Sequence
  import json
  from typing import Any, NamedTuple
label_desc: Use image node_id 8 for calling the ExportedApi obj's underlying member method code with example usage: obj.__str__() and returns: json