tools/fuchsia/comparative_tester/test_results.py
def ToJsonDict(self) -> Dict[str, Any]:
    """Converts a ResultLine into a JSON-serializable dictionary object.

    Returns:
      Dict[str, Any]: A mapping of strings that will appear in the output JSON
          object to their respective values.
    """

    return {
        "description": self.desc,
        "measurement": self.meas,
        "unit": self.unit,
    }
Converts a ResultLine into a JSON-serializable dictionary object.

    Returns:
      Dict[str, Any]: A mapping of strings that will appear in the output JSON
          object to their respective values.
    
Converts a ResultLine into a JSON-serializable dictionary object.
Converts a ResultLine into a JSON - serializable dictionary object .
def ToJsonDict(self) -> Dict[str, Any]:
    return {
        "description": self.desc,
        "measurement": self.meas,
        "unit": self.unit,
    }
def ToJsonDict ( self ) -> Dict [ str , Any ] : return { "description" : self . desc , "measurement" : self . meas , "unit" : self . unit , }
Converts a ResultLine into a JSON-serializable dictionary object.
Converts a ResultLine into a JSON - serializable dictionary object .
"""Converts a ResultLine into a JSON-serializable dictionary object.

    Returns:
      Dict[str, Any]: A mapping of strings that will appear in the output JSON
          object to their respective values.
    """
A mapping of strings that will appear in the output JSON
object to their respective values.
A mapping of strings that will appear in the output JSON object to their respective values .
Dict[str, Any]
self