original_docstring: Return a JSON representation of this class.
docstring: Return a JSON representation of this class.
docstring_tokens: Return a JSON representation of this class .
code: def export_to_json(self):
          """Return a JSON representation of this class."""
          rep = {}
          for source_boundary_id, source_obj in self.tree.items():
              if source_boundary_id not in rep:
                  rep[source_boundary_id] = {}
              for source_component_id, dest_obj in source_obj.items():
                  if source_component_id not in rep[source_boundary_id]:
                      rep[source_boundary_id][source_component_id] = {}
                  for dest_boundary_id, dest_component_obj in dest_obj.items():
                      if dest_boundary_id not in rep[source_boundary_id][source_component_id]:
                          rep[source_boundary_id][source_component_id][dest_boundary_id] = {}
                      for dest_component_id, edge_obj in dest_component_obj.items():
                          rep[source_boundary_id][source_component_id][dest_boundary_id][dest_component_id] = {}
                          rep[source_boundary_id][source_component_id][dest_boundary_id][dest_component_id]['type'] = edge_obj['type']
                          rep[source_boundary_id][source_component_id][dest_boundary_id][dest_component_id]['name'] = edge_obj['name']
                          rep[source_boundary_id][source_component_id][dest_boundary_id][dest_component_id]['source'] = edge_obj['source'].export_to_json()
          return rep
code_tokens: def export_to_json ( self ) : rep = { } for source_boundary_id , source_obj in self . tree . items ( ) : if source_boundary_id not in rep : rep [ source_boundary_id ] = { } for source_component_id , dest_obj in source_obj . items ( ) : if source_component_id not in rep [ source_boundary_id ] : rep [ source_boundary_id ] [ source_component_id ] = { } for dest_boundary_id , dest_component_obj in dest_obj . items ( ) : if dest_boundary_id not in rep [ source_boundary_id ] [ source_component_id ] : rep [ source_boundary_id ] [ source_component_id ] [ dest_boundary_id ] = { } for dest_component_id , edge_obj in dest_component_obj . items ( ) : rep [ source_boundary_id ] [ source_component_id ] [ dest_boundary_id ] [ dest_component_id ] = { } rep [ source_boundary_id ] [ source_component_id ] [ dest_boundary_id ] [ dest_component_id ] [ 'type' ] = edge_obj [ 'type' ] rep [ source_boundary_id ] [ source_component_id ] [ dest_boundary_id ] [ dest_component_id ] [ 'name' ] = edge_obj [ 'name' ] rep [ source_boundary_id ] [ source_component_id ] [ dest_boundary_id ] [ dest_component_id ] [ 'source' ] = edge_obj [ 'source' ] . export_to_json ( ) return rep
short_docstring: Return a JSON representation of this class.
short_docstring_tokens: Return a JSON representation of this class .
comment: """Return a JSON representation of this class."""