tools/fuchsia/comparative_tester/test_results.py
def ToJsonDict(self) -> Dict[str, Any]:
    """Converts a TargetResult to a JSON-serializable dict.

    Returns:
      Dict[str, Any]: The TargetResult in JSON-serializable form.
    """
    return {
        "name": self.name,
        "tests": [test.ToJsonDict() for test in self.tests]
    }
Converts a TargetResult to a JSON-serializable dict.

    Returns:
      Dict[str, Any]: The TargetResult in JSON-serializable form.
    
Converts a TargetResult to a JSON-serializable dict.
Converts a TargetResult to a JSON - serializable dict .
def ToJsonDict(self) -> Dict[str, Any]:
    return {
        "name": self.name,
        "tests": [test.ToJsonDict() for test in self.tests]
    }
def ToJsonDict ( self ) -> Dict [ str , Any ] : return { "name" : self . name , "tests" : [ test . ToJsonDict ( ) for test in self . tests ] }
Converts a TargetResult to a JSON-serializable dict.
Converts a TargetResult to a JSON - serializable dict .
"""Converts a TargetResult to a JSON-serializable dict.

    Returns:
      Dict[str, Any]: The TargetResult in JSON-serializable form.
    """
The TargetResult in JSON-serializable form.
The TargetResult in JSON - serializable form .
Dict[str, Any]
self