Handler.writejsonC(path)

  1. Return a json file shown on the website about shortest path from person to person.
  2. Parameters
  3. - path: list of person idf
  4. Returns: json file
  5. Raises: path is empty.